Skip to content

Commit

Permalink
Update to OpenSuSE 13.2.
Browse files Browse the repository at this point in the history
Closes #298
  • Loading branch information
Julian C. Dunn committed Nov 27, 2014
1 parent 1b961b4 commit 4370586
Show file tree
Hide file tree
Showing 6 changed files with 84 additions and 122 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,57 +40,59 @@
<hwclock>UTC</hwclock>
<timezone>Etc/UTC</timezone>
</timezone>

<partitioning config:type="list">
<drive>
<device>/dev/sda</device>
<initialize config:type="boolean">true</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<crypt_fs config:type="boolean">false</crypt_fs>
<filesystem config:type="symbol">ext4</filesystem>
<filesystem_id config:type="integer">131</filesystem_id>
<filesystem config:type="symbol">swap</filesystem>
<format config:type="boolean">true</format>
<fstopt>defaults</fstopt>
<loop_fs config:type="boolean">false</loop_fs>
<mount>/boot</mount>
<mount>swap</mount>
<mountby config:type="symbol">device</mountby>
<partition_id config:type="integer">131</partition_id>
<partition_id config:type="integer">130</partition_id>
<partition_nr config:type="integer">1</partition_nr>
<raid_options/>
<resize config:type="boolean">false</resize>
<size>512M</size>
</partition>
<partition>
<create config:type="boolean">true</create>
<crypt_fs config:type="boolean">false</crypt_fs>
<filesystem config:type="symbol">ext4</filesystem>
<filesystem_id config:type="integer">131</filesystem_id>
<filesystem config:type="symbol">btrfs</filesystem>
<format config:type="boolean">true</format>
<fstopt>defaults</fstopt>
<loop_fs config:type="boolean">false</loop_fs>
<mount>/</mount>
<mountby config:type="symbol">device</mountby>
<partition_id config:type="integer">131</partition_id>
<partition_nr config:type="integer">2</partition_nr>
<raid_options/>
<resize config:type="boolean">false</resize>
<size>max</size>
</partition>
<partition>
<create config:type="boolean">true</create>
<crypt_fs config:type="boolean">false</crypt_fs>
<filesystem config:type="symbol">swap</filesystem>
<filesystem_id config:type="integer">130</filesystem_id>
<format config:type="boolean">true</format>
<fstopt>defaults</fstopt>
<loop_fs config:type="boolean">false</loop_fs>
<mount>swap</mount>
<mountby config:type="symbol">device</mountby>
<partition_id config:type="integer">130</partition_id>
<partition_nr config:type="integer">3</partition_nr>
<resize config:type="boolean">false</resize>
<size>512M</size>
<subvolumes config:type="list">
<listentry>boot/grub2/i386-pc</listentry>
<listentry>boot/grub2/x86_64-efi</listentry>
<listentry>home</listentry>
<listentry>opt</listentry>
<listentry>srv</listentry>
<listentry>tmp</listentry>
<listentry>usr/local</listentry>
<listentry>var/crash</listentry>
<listentry>var/lib/mailman</listentry>
<listentry>var/lib/named</listentry>
<listentry>var/lib/pgsql</listentry>
<listentry>var/log</listentry>
<listentry>var/opt</listentry>
<listentry>var/spool</listentry>
<listentry>var/tmp</listentry>
</subvolumes>
</partition>
</partitions>
<pesize/>
<type config:type="symbol">CT_DISK</type>
<use>all</use>
</drive>
Expand All @@ -106,8 +108,8 @@
<dns>
<dhcp_hostname config:type="boolean">true</dhcp_hostname>
<dhcp_resolv config:type="boolean">true</dhcp_resolv>
<domain>local</domain>
<hostname>linux</hostname>
<domain>vagrantup.com</domain>
<hostname>opensuse-13.2-x64</hostname>
</dns>
<interfaces config:type="list">
<interface>
Expand All @@ -124,8 +126,8 @@
</networking>

<firewall>
<enable_firewall config:type="boolean">false</enable_firewall>
<start_firewall config:type="boolean">false</start_firewall>
<enable_firewall config:type="boolean">true</enable_firewall>
<start_firewall config:type="boolean">true</start_firewall>
</firewall>

<software>
Expand All @@ -139,69 +141,43 @@
<package>kernel-default-devel</package>
<package>gcc</package>
<package>make</package>
<package>less</package>
<package>vim</package>
<package>sudo</package>
<package>screen</package>
<package>yast2</package>
<package>yast2-firstboot</package>
<package>zypper</package>
<package>yast2-trans-en_US</package>
<package>wget</package>
<package>curl</package>
<package>iproute2</package>
<package>ifplugd</package>
<package>kexec-tools</package>
<package>libdaemon0</package>
<package>libnl1</package>
<package>libxslt-tools</package>
<package>cryptsetup-mkinitrd</package>
<package>grub2-branding-openSUSE</package>
<package>rsyslog</package>
</packages>
<patterns config:type="list">
<pattern>sw_management</pattern>
<pattern>yast2_install_wf</pattern>
<pattern>base</pattern>
<pattern>minimal_base</pattern>
</patterns>
<remove-packages config:type="list">
<package>bash-completion</package>
<package>telnet</package>
<package>virtualbox-guest-kmp-default</package>
<package>virtualbox-guest-tools</package>
</remove-packages>
</software>

<runlevel>
<services config:type="list">
<service>
<service_name>sshd</service_name>
<service_start>3 5</service_start>
</service>
<services-manager>
<default_target>graphical</default_target>
<services>
<disable config:type="list"/>
<enable config:type="list">
<service>sshd</service>
</enable>
</services>
</runlevel>

<scripts>
<init-scripts config:type="list">
<script>
<debug config:type="boolean">true</debug>
<filename>restart_sshd.sh</filename>
<interpreter>shell</interpreter>
<source><![CDATA[#!/bin/bash
systemctl restart sshd
systemctl enable rsyslog
systemctl start rsyslog
]]></source>
</script>
</init-scripts>
</scripts>

</services-manager>
<groups config:type="list">
<group>
<gid>100</gid>
<groupname>users</groupname>
<userlist/>
</group>
</groups>

<user_defaults>
<expire/>
<group>100</group>
Expand Down
39 changes: 19 additions & 20 deletions packer/opensuse-13.1-i386.json → packer/opensuse-13.2-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"boot_command": [
"<esc><enter><wait>",
"linux netsetup=dhcp install=cd:/<wait>",
" lang=en_US autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/opensuse-13.1/autoinst.xml<wait>",
" lang=en_US autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/opensuse-13.2/autoinst.xml<wait>",
" textmode=1<wait>",
"<enter><wait>"
],
Expand All @@ -13,10 +13,10 @@
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "OpenSUSE",
"http_directory": "http",
"iso_checksum": "1bd6223430910f6d5a168d4e19171462",
"iso_checksum_type": "md5",
"iso_url": "{{user `mirror`}}/13.1/iso/openSUSE-13.1-DVD-i586.iso",
"output_directory": "packer-opensuse-13.1-i386-virtualbox",
"iso_checksum": "2ec28606829d6408efc5a79b70d1da738fdc09de",
"iso_checksum_type": "sha1",
"iso_url": "{{user `mirror`}}/13.2/iso/openSUSE-13.2-DVD-i586.iso",
"output_directory": "packer-opensuse-13.2-i386-virtualbox",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
"ssh_port": 22,
Expand All @@ -38,32 +38,32 @@
]
],
"virtualbox_version_file": ".vbox_version",
"vm_name": "packer-opensuse-13.1-i386"
"vm_name": "packer-opensuse-13.2-i386"
},
{
"boot_command": [
"<esc><enter><wait>",
"linux netsetup=dhcp install=cd:/<wait>",
" lang=en_US autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/opensuse-13.1/autoinst.xml<wait>",
" lang=en_US autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/opensuse-13.2/autoinst.xml<wait>",
" textmode=1<wait>",
"<enter><wait>"
],
"boot_wait": "10s",
"disk_size": 20480,
"guest_os_type": "opensuse",
"http_directory": "http",
"iso_checksum": "1bd6223430910f6d5a168d4e19171462",
"iso_checksum_type": "md5",
"iso_url": "{{user `mirror`}}/13.1/iso/openSUSE-13.1-DVD-i586.iso",
"output_directory": "packer-opensuse-13.1-i386-vmware",
"iso_checksum": "2ec28606829d6408efc5a79b70d1da738fdc09de",
"iso_checksum_type": "sha1",
"iso_url": "{{user `mirror`}}/13.2/iso/openSUSE-13.2-DVD-i586.iso",
"output_directory": "packer-opensuse-13.2-i386-vmware",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/shutdown -h 1",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"tools_upload_flavor": "linux",
"type": "vmware-iso",
"vm_name": "packer-opensuse-13.1-i386",
"vm_name": "packer-opensuse-13.2-i386",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "480",
Expand All @@ -74,18 +74,18 @@
"boot_command": [
"<esc><enter><wait>",
"linux netsetup=dhcp install=cd:/<wait>",
" lang=en_US autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/opensuse-13.1/autoinst.xml<wait>",
" lang=en_US autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/opensuse-13.2/autoinst.xml<wait>",
" textmode=1<wait>",
"<enter><wait>"
],
"boot_wait": "10s",
"disk_size": 20480,
"guest_os_type": "opensuse",
"http_directory": "http",
"iso_checksum": "1bd6223430910f6d5a168d4e19171462",
"iso_checksum_type": "md5",
"iso_url": "{{user `mirror`}}/13.1/iso/openSUSE-13.1-DVD-i586.iso",
"output_directory": "packer-opensuse-13.1-i386-parallels",
"iso_checksum": "2ec28606829d6408efc5a79b70d1da738fdc09de",
"iso_checksum_type": "sha1",
"iso_url": "{{user `mirror`}}/13.2/iso/openSUSE-13.2-DVD-i586.iso",
"output_directory": "packer-opensuse-13.2-i386-parallels",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
"ssh_port": 22,
Expand All @@ -108,12 +108,12 @@
]
],
"prlctl_version_file": ".prlctl_version",
"vm_name": "packer-opensuse-13.1-i386"
"vm_name": "packer-opensuse-13.2-i386"
}
],
"post-processors": [
{
"output": "../builds/{{.Provider}}/opscode_opensuse-13.1-i386_chef-{{user `chef_version`}}.box",
"output": "../builds/{{.Provider}}/opscode_opensuse-13.2-i386_chef-{{user `chef_version`}}.box",
"type": "vagrant"
}
],
Expand All @@ -128,7 +128,6 @@
"scripts/common/vagrant.sh",
"scripts/common/vmtools.sh",
"scripts/common/chef.sh",
"scripts/opensuse/services.sh",
"scripts/opensuse/sudoers.sh",
"scripts/opensuse/zypper-locks.sh",
"scripts/opensuse/remove-dvd-source.sh",
Expand Down
Loading

0 comments on commit 4370586

Please sign in to comment.