veewee 0.1.17 → 0.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +1 -1
- data/lib/veewee/scancode.rb +39 -21
- data/lib/veewee/session.rb +15 -4
- data/lib/veewee/version.rb +1 -1
- data/templates/Archlinux-latest/definition.rb +10 -11
- data/templates/Archlinux-latest/postinstall.sh +12 -12
- data/templates/CentOS-4.8-i386/definition.rb +6 -7
- data/templates/CentOS-4.8-i386/postinstall.sh +7 -7
- data/templates/CentOS-5.5-i386-netboot/definition.rb +16 -17
- data/templates/CentOS-5.5-i386-netboot/postinstall.sh +6 -11
- data/templates/CentOS-5.5-i386/definition.rb +15 -16
- data/templates/CentOS-5.5-i386/postinstall.sh +6 -11
- data/templates/Debian-6.0-amd64-netboot/definition.rb +18 -19
- data/templates/Debian-6.0-amd64-netboot/postinstall.sh +4 -5
- data/templates/Debian-6.0-amd64-netboot/preseed.cfg +1 -1
- data/templates/Debian-6.0-i386-netboot/definition.rb +4 -5
- data/templates/Debian-6.0-i386-netboot/postinstall.sh +1 -1
- data/templates/Fedora-14-amd64-netboot/definition.rb +16 -0
- data/templates/Fedora-14-amd64-netboot/ks.cfg +40 -0
- data/templates/Fedora-14-amd64-netboot/postinstall.sh +52 -0
- data/templates/Fedora-14-amd64/definition.rb +16 -0
- data/templates/Fedora-14-amd64/ks.cfg +41 -0
- data/templates/Fedora-14-amd64/postinstall.sh +52 -0
- data/templates/Fedora-14-i386-netboot/definition.rb +16 -0
- data/templates/Fedora-14-i386-netboot/ks.cfg +40 -0
- data/templates/Fedora-14-i386-netboot/postinstall.sh +52 -0
- data/templates/Fedora-14-i386/definition.rb +16 -0
- data/templates/Fedora-14-i386/ks.cfg +41 -0
- data/templates/Fedora-14-i386/postinstall.sh +52 -0
- data/templates/Sysrescuecd-2.0.0-experimental/definition.rb +11 -12
- data/templates/freebsd-8.2-experimental/definition.rb +9 -10
- data/templates/freebsd-8.2-experimental/postinstall.sh +16 -16
- data/templates/freebsd-8.2-pcbsd-i386/definition.rb +16 -17
- data/templates/freebsd-8.2-pcbsd-i386/pcinstall.fbg.cfg +1 -1
- data/templates/freebsd-8.2-pcbsd-i386/postinstall.sh +2 -2
- data/templates/solaris-11-express-i386-experimental/auto_install/ai.dtd +58 -0
- data/templates/solaris-11-express-i386-experimental/auto_install/ai_manifest.xml +241 -0
- data/templates/solaris-11-express-i386-experimental/auto_install/configuration.dtd +44 -0
- data/templates/solaris-11-express-i386-experimental/auto_install/default.xml +124 -0
- data/templates/solaris-11-express-i386-experimental/auto_install/default.xml.orig +124 -0
- data/templates/solaris-11-express-i386-experimental/auto_install/sc_profiles/static_network.xml +105 -0
- data/templates/solaris-11-express-i386-experimental/auto_install/software.dtd +105 -0
- data/templates/solaris-11-express-i386-experimental/auto_install/target.dtd +196 -0
- data/templates/solaris-11-express-i386-experimental/default.xml +121 -0
- data/templates/solaris-11-express-i386-experimental/definition.rb +65 -0
- data/templates/solaris-11-express-i386-experimental/postinstall.sh +72 -0
- data/templates/ubuntu-10.04.2-server-amd64/definition.rb +24 -0
- data/templates/{ubuntu-10.04.1-server-amd64 → ubuntu-10.04.2-server-amd64}/postinstall.sh +3 -4
- data/templates/{ubuntu-10.04.1-server-amd64 → ubuntu-10.04.2-server-amd64}/preseed.cfg +3 -3
- data/templates/ubuntu-10.04.2-server-i386/definition.rb +24 -0
- data/templates/{ubuntu-10.04.1-server-i386 → ubuntu-10.04.2-server-i386}/postinstall.sh +2 -3
- data/templates/{ubuntu-10.04.1-server-i386 → ubuntu-10.04.2-server-i386}/postinstall2.sh +0 -0
- data/templates/{ubuntu-10.04.1-server-i386 → ubuntu-10.04.2-server-i386}/preseed.cfg +3 -3
- data/templates/ubuntu-10.10-server-amd64-netboot/definition.rb +16 -17
- data/templates/ubuntu-10.10-server-amd64-netboot/postinstall.sh +2 -3
- data/templates/ubuntu-10.10-server-amd64-netboot/preseed.cfg +2 -2
- data/templates/ubuntu-10.10-server-amd64/definition.rb +16 -17
- data/templates/ubuntu-10.10-server-amd64/postinstall.sh +2 -3
- data/templates/ubuntu-10.10-server-amd64/preseed.cfg +3 -3
- data/templates/ubuntu-10.10-server-i386-netboot/definition.rb +16 -17
- data/templates/ubuntu-10.10-server-i386-netboot/postinstall.sh +3 -4
- data/templates/ubuntu-10.10-server-i386-netboot/preseed.cfg +2 -2
- data/templates/ubuntu-10.10-server-i386/definition.rb +16 -17
- data/templates/ubuntu-10.10-server-i386/postinstall.sh +3 -4
- data/templates/ubuntu-10.10-server-i386/preseed.cfg +4 -4
- metadata +34 -11
- data/templates/ubuntu-10.04.1-server-amd64/definition.rb +0 -25
- data/templates/ubuntu-10.04.1-server-i386/definition.rb +0 -25
@@ -0,0 +1,24 @@
|
|
1
|
+
Veewee::Session.declare({
|
2
|
+
:cpu_count => '1', :memory_size=> '384',
|
3
|
+
:disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off',
|
4
|
+
:os_type_id => 'Ubuntu_64',
|
5
|
+
:iso_file => "ubuntu-10.04.2-server-amd64.iso",
|
6
|
+
:iso_src => "http://releases.ubuntu.com/10.04.2/ubuntu-10.04.2-server-amd64.iso",
|
7
|
+
:iso_md5 => "b446b36430a29f3dcf0c5eb797197cac",
|
8
|
+
:iso_download_timeout => "1000",
|
9
|
+
:boot_wait => "10", :boot_cmd_sequence => [
|
10
|
+
'<Esc><Esc><Enter>',
|
11
|
+
'/install/vmlinuz noapic preseed/url=http://%IP%:%PORT%/preseed.cfg ',
|
12
|
+
'debian-installer=en_US auto locale=en_US kbd-chooser/method=us ',
|
13
|
+
'hostname=%NAME% ',
|
14
|
+
'fb=false debconf/frontend=noninteractive ',
|
15
|
+
'console-setup/ask_detect=false console-setup/modelcode=pc105 console-setup/layoutcode=us ',
|
16
|
+
'initrd=/install/initrd.gz -- <Enter>'
|
17
|
+
],
|
18
|
+
:kickstart_port => "7122", :kickstart_timeout => "10000", :kickstart_file => "preseed.cfg",
|
19
|
+
:ssh_login_timeout => "10000", :ssh_user => "vagrant", :ssh_password => "vagrant", :ssh_key => "",
|
20
|
+
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
21
|
+
:sudo_cmd => "echo '%p'|sudo -S sh '%f'",
|
22
|
+
:shutdown_cmd => "shutdown -P now",
|
23
|
+
:postinstall_files => [ "postinstall.sh"], :postinstall_timeout => "10000"
|
24
|
+
})
|
@@ -29,11 +29,10 @@ cd /home/vagrant/.ssh
|
|
29
29
|
wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys
|
30
30
|
chown -R vagrant /home/vagrant/.ssh
|
31
31
|
|
32
|
-
#
|
32
|
+
#Installing the virtualbox guest additions
|
33
33
|
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
|
34
|
-
#INstalling the virtualbox guest additions
|
35
34
|
cd /tmp
|
36
|
-
wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
|
35
|
+
wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
|
37
36
|
mount -o loop VBoxGuestAdditions_$VBOX_VERSION.iso /mnt
|
38
37
|
sh /mnt/VBoxLinuxAdditions.run
|
39
38
|
umount /mnt
|
@@ -42,4 +41,4 @@ apt-get -y remove linux-headers-$(uname -r) build-essential
|
|
42
41
|
apt-get -y autoremove
|
43
42
|
|
44
43
|
rm VBoxGuestAdditions_$VBOX_VERSION.iso
|
45
|
-
exit
|
44
|
+
exit
|
@@ -9,7 +9,7 @@ d-i netcfg/get_domain string unassigned-domain
|
|
9
9
|
|
10
10
|
# Continue without a default route
|
11
11
|
# Not working , specify a dummy in the DHCP
|
12
|
-
#d-i netcfg/no_default_route boolean
|
12
|
+
#d-i netcfg/no_default_route boolean
|
13
13
|
|
14
14
|
d-i time/zone string Europe/Brussels
|
15
15
|
d-i clock-setup/utc-auto boolean true
|
@@ -54,7 +54,7 @@ d-i partman-auto-lvm/guided_size string max
|
|
54
54
|
## Default user, we can get away with a recipe to change this
|
55
55
|
d-i passwd/user-fullname string vagrant
|
56
56
|
d-i passwd/username string vagrant
|
57
|
-
d-i passwd/user-password password vagrant
|
57
|
+
d-i passwd/user-password password vagrant
|
58
58
|
d-i passwd/user-password-again password vagrant
|
59
59
|
d-i user-setup/encrypt-home boolean false
|
60
60
|
d-i user-setup/allow-password-weak boolean true
|
@@ -84,4 +84,4 @@ d-i pkgsel/update-policy select none
|
|
84
84
|
#choose-mirror-bin mirror/suite select maverick
|
85
85
|
#d-i debian-installer/allow_unauthenticated string true
|
86
86
|
|
87
|
-
choose-mirror-bin mirror/http/proxy string
|
87
|
+
choose-mirror-bin mirror/http/proxy string
|
@@ -0,0 +1,24 @@
|
|
1
|
+
Veewee::Session.declare({
|
2
|
+
:cpu_count => '1', :memory_size=> '384',
|
3
|
+
:disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off',
|
4
|
+
:os_type_id => 'Ubuntu',
|
5
|
+
:iso_file => "ubuntu-10.04.2-server-i386.iso",
|
6
|
+
:iso_src => "http://releases.ubuntu.com/10.04.2/ubuntu-10.04.2-server-i386.iso",
|
7
|
+
:iso_md5 => "9807160b8935289096df8160832e358e",
|
8
|
+
:iso_download_timeout => "1000",
|
9
|
+
:boot_wait => "10", :boot_cmd_sequence => [
|
10
|
+
'<Esc><Esc><Enter>',
|
11
|
+
'/install/vmlinuz noapic preseed/url=http://%IP%:%PORT%/preseed.cfg ',
|
12
|
+
'debian-installer=en_US auto locale=en_US kbd-chooser/method=us ',
|
13
|
+
'hostname=%NAME% ',
|
14
|
+
'fb=false debconf/frontend=noninteractive ',
|
15
|
+
'console-setup/ask_detect=false console-setup/modelcode=pc105 console-setup/layoutcode=us ',
|
16
|
+
'initrd=/install/initrd.gz -- <Enter>'
|
17
|
+
],
|
18
|
+
:kickstart_port => "7122", :kickstart_timeout => "10000", :kickstart_file => "preseed.cfg",
|
19
|
+
:ssh_login_timeout => "10000", :ssh_user => "vagrant", :ssh_password => "vagrant", :ssh_key => "",
|
20
|
+
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
21
|
+
:sudo_cmd => "echo '%p'|sudo -S sh '%f'",
|
22
|
+
:shutdown_cmd => "shutdown -P now",
|
23
|
+
:postinstall_files => [ "postinstall.sh"], :postinstall_timeout => "10000"
|
24
|
+
})
|
@@ -31,11 +31,10 @@ cd /home/vagrant/.ssh
|
|
31
31
|
wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys
|
32
32
|
chown -R vagrant /home/vagrant/.ssh
|
33
33
|
|
34
|
-
#
|
34
|
+
#Installing the virtualbox guest additions
|
35
35
|
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
|
36
|
-
#INstalling the virtualbox guest additions
|
37
36
|
cd /tmp
|
38
|
-
wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
|
37
|
+
wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
|
39
38
|
mount -o loop VBoxGuestAdditions_$VBOX_VERSION.iso /mnt
|
40
39
|
sh /mnt/VBoxLinuxAdditions.run
|
41
40
|
umount /mnt
|
File without changes
|
@@ -9,7 +9,7 @@ d-i netcfg/get_domain string unassigned-domain
|
|
9
9
|
|
10
10
|
# Continue without a default route
|
11
11
|
# Not working , specify a dummy in the DHCP
|
12
|
-
#d-i netcfg/no_default_route boolean
|
12
|
+
#d-i netcfg/no_default_route boolean
|
13
13
|
|
14
14
|
d-i time/zone string Europe/Brussels
|
15
15
|
d-i clock-setup/utc-auto boolean true
|
@@ -54,7 +54,7 @@ d-i partman-auto-lvm/guided_size string max
|
|
54
54
|
## Default user, we can get away with a recipe to change this
|
55
55
|
d-i passwd/user-fullname string vagrant
|
56
56
|
d-i passwd/username string vagrant
|
57
|
-
d-i passwd/user-password password vagrant
|
57
|
+
d-i passwd/user-password password vagrant
|
58
58
|
d-i passwd/user-password-again password vagrant
|
59
59
|
d-i user-setup/encrypt-home boolean false
|
60
60
|
d-i user-setup/allow-password-weak boolean true
|
@@ -84,4 +84,4 @@ d-i pkgsel/update-policy select none
|
|
84
84
|
#choose-mirror-bin mirror/suite select maverick
|
85
85
|
#d-i debian-installer/allow_unauthenticated string true
|
86
86
|
|
87
|
-
choose-mirror-bin mirror/http/proxy string
|
87
|
+
choose-mirror-bin mirror/http/proxy string
|
@@ -1,25 +1,24 @@
|
|
1
|
-
Veewee::Session.declare(
|
1
|
+
Veewee::Session.declare({
|
2
2
|
:cpu_count => '1', :memory_size=> '256',
|
3
|
-
:disk_size => '10140', :disk_format => 'VDI'
|
3
|
+
:disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off',
|
4
4
|
:os_type_id => 'Ubuntu_64',
|
5
|
-
:iso_file => "ubuntu-10.10-server-amd64-netboot.iso",
|
5
|
+
:iso_file => "ubuntu-10.10-server-amd64-netboot.iso",
|
6
6
|
:iso_src => "http://archive.ubuntu.com/ubuntu/dists/maverick/main/installer-amd64/current/images/netboot/mini.iso",
|
7
7
|
:iso_md5 => "3d9f096398991ed1eaa9ff32128e199a",
|
8
8
|
:iso_download_timeout => "1000",
|
9
|
-
:boot_wait => "10"
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
:kickstart_port => "7122", :kickstart_timeout => "10000"
|
19
|
-
:ssh_login_timeout => "10000"
|
9
|
+
:boot_wait => "10", :boot_cmd_sequence => [
|
10
|
+
'<Tab>',
|
11
|
+
'noapic preseed/url=http://%IP%:%PORT%/preseed.cfg ',
|
12
|
+
'debian-installer=en_US auto locale=en_US kbd-chooser/method=us ',
|
13
|
+
'hostname=%NAME% ',
|
14
|
+
'fb=false debconf/frontend=noninteractive ',
|
15
|
+
'console-setup/ask_detect=false console-setup/modelcode=pc105 console-setup/layoutcode=us ',
|
16
|
+
' -- <Enter>'
|
17
|
+
],
|
18
|
+
:kickstart_port => "7122", :kickstart_timeout => "10000", :kickstart_file => "preseed.cfg",
|
19
|
+
:ssh_login_timeout => "10000", :ssh_user => "vagrant", :ssh_password => "vagrant", :ssh_key => "",
|
20
20
|
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
21
21
|
:sudo_cmd => "echo '%p'|sudo -S sh '%f'",
|
22
22
|
:shutdown_cmd => "shutdown -P now",
|
23
|
-
:postinstall_files => [ "postinstall.sh"]
|
24
|
-
|
25
|
-
)
|
23
|
+
:postinstall_files => [ "postinstall.sh"], :postinstall_timeout => "10000"
|
24
|
+
})
|
@@ -31,11 +31,10 @@ cd /home/vagrant/.ssh
|
|
31
31
|
wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys
|
32
32
|
chown -R vagrant /home/vagrant/.ssh
|
33
33
|
|
34
|
-
#
|
34
|
+
#Installing the virtualbox guest additions
|
35
35
|
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
|
36
|
-
#INstalling the virtualbox guest additions
|
37
36
|
cd /tmp
|
38
|
-
wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
|
37
|
+
wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
|
39
38
|
mount -o loop VBoxGuestAdditions_$VBOX_VERSION.iso /mnt
|
40
39
|
sh /mnt/VBoxLinuxAdditions.run
|
41
40
|
umount /mnt
|
@@ -9,7 +9,7 @@ d-i netcfg/get_domain string unassigned-domain
|
|
9
9
|
|
10
10
|
# Continue without a default route
|
11
11
|
# Not working , specify a dummy in the DHCP
|
12
|
-
#d-i netcfg/no_default_route boolean
|
12
|
+
#d-i netcfg/no_default_route boolean
|
13
13
|
|
14
14
|
d-i time/zone string Europe/Brussels
|
15
15
|
d-i clock-setup/utc-auto boolean true
|
@@ -54,7 +54,7 @@ d-i partman-auto-lvm/guided_size string max
|
|
54
54
|
## Default user, we can get away with a recipe to change this
|
55
55
|
d-i passwd/user-fullname string vagrant
|
56
56
|
d-i passwd/username string vagrant
|
57
|
-
d-i passwd/user-password password vagrant
|
57
|
+
d-i passwd/user-password password vagrant
|
58
58
|
d-i passwd/user-password-again password vagrant
|
59
59
|
d-i user-setup/encrypt-home boolean false
|
60
60
|
d-i user-setup/allow-password-weak boolean true
|
@@ -1,25 +1,24 @@
|
|
1
|
-
Veewee::Session.declare(
|
1
|
+
Veewee::Session.declare({
|
2
2
|
:cpu_count => '1', :memory_size=> '384',
|
3
|
-
:disk_size => '10140', :disk_format => 'VDI'
|
3
|
+
:disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off',
|
4
4
|
:os_type_id => 'Ubuntu_64',
|
5
|
-
:iso_file => "ubuntu-10.10-server-amd64.iso",
|
5
|
+
:iso_file => "ubuntu-10.10-server-amd64.iso",
|
6
6
|
:iso_src => "http://releases.ubuntu.com/maverick/ubuntu-10.10-server-amd64.iso",
|
7
7
|
:iso_md5 => "ab66a1d59a8d78e9ea8ef9b021d6574a",
|
8
8
|
:iso_download_timeout => "1000",
|
9
|
-
:boot_wait => "10"
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
:kickstart_port => "7122", :kickstart_timeout => "10000"
|
19
|
-
:ssh_login_timeout => "10000"
|
9
|
+
:boot_wait => "10", :boot_cmd_sequence => [
|
10
|
+
'<Esc><Esc><Enter>',
|
11
|
+
'/install/vmlinuz noapic preseed/url=http://%IP%:%PORT%/preseed.cfg ',
|
12
|
+
'debian-installer=en_US auto locale=en_US kbd-chooser/method=us ',
|
13
|
+
'hostname=%NAME% ',
|
14
|
+
'fb=false debconf/frontend=noninteractive ',
|
15
|
+
'console-setup/ask_detect=false console-setup/modelcode=pc105 console-setup/layoutcode=us ',
|
16
|
+
'initrd=/install/initrd.gz -- <Enter>'
|
17
|
+
],
|
18
|
+
:kickstart_port => "7122", :kickstart_timeout => "10000", :kickstart_file => "preseed.cfg",
|
19
|
+
:ssh_login_timeout => "10000", :ssh_user => "vagrant", :ssh_password => "vagrant", :ssh_key => "",
|
20
20
|
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
21
21
|
:sudo_cmd => "echo '%p'|sudo -S sh '%f'",
|
22
22
|
:shutdown_cmd => "shutdown -P now",
|
23
|
-
:postinstall_files => [ "postinstall.sh"]
|
24
|
-
|
25
|
-
)
|
23
|
+
:postinstall_files => [ "postinstall.sh"], :postinstall_timeout => "10000"
|
24
|
+
})
|
@@ -31,11 +31,10 @@ cd /home/vagrant/.ssh
|
|
31
31
|
wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys
|
32
32
|
chown -R vagrant /home/vagrant/.ssh
|
33
33
|
|
34
|
-
#
|
34
|
+
#Installing the virtualbox guest additions
|
35
35
|
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
|
36
|
-
#INstalling the virtualbox guest additions
|
37
36
|
cd /tmp
|
38
|
-
wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
|
37
|
+
wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
|
39
38
|
mount -o loop VBoxGuestAdditions_$VBOX_VERSION.iso /mnt
|
40
39
|
sh /mnt/VBoxLinuxAdditions.run
|
41
40
|
umount /mnt
|
@@ -9,7 +9,7 @@ d-i netcfg/get_domain string unassigned-domain
|
|
9
9
|
|
10
10
|
# Continue without a default route
|
11
11
|
# Not working , specify a dummy in the DHCP
|
12
|
-
#d-i netcfg/no_default_route boolean
|
12
|
+
#d-i netcfg/no_default_route boolean
|
13
13
|
|
14
14
|
d-i time/zone string Europe/Brussels
|
15
15
|
d-i clock-setup/utc-auto boolean true
|
@@ -54,7 +54,7 @@ d-i partman-auto-lvm/guided_size string max
|
|
54
54
|
## Default user, we can get away with a recipe to change this
|
55
55
|
d-i passwd/user-fullname string vagrant
|
56
56
|
d-i passwd/username string vagrant
|
57
|
-
d-i passwd/user-password password vagrant
|
57
|
+
d-i passwd/user-password password vagrant
|
58
58
|
d-i passwd/user-password-again password vagrant
|
59
59
|
d-i user-setup/encrypt-home boolean false
|
60
60
|
d-i user-setup/allow-password-weak boolean true
|
@@ -84,4 +84,4 @@ d-i pkgsel/update-policy select none
|
|
84
84
|
#choose-mirror-bin mirror/suite select maverick
|
85
85
|
#d-i debian-installer/allow_unauthenticated string true
|
86
86
|
|
87
|
-
choose-mirror-bin mirror/http/proxy string
|
87
|
+
choose-mirror-bin mirror/http/proxy string
|
@@ -1,25 +1,24 @@
|
|
1
|
-
Veewee::Session.declare(
|
1
|
+
Veewee::Session.declare({
|
2
2
|
:cpu_count => '1', :memory_size=> '384',
|
3
|
-
:disk_size => '10140', :disk_format => 'VDI'
|
3
|
+
:disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off',
|
4
4
|
:os_type_id => 'Ubuntu',
|
5
|
-
:iso_file => "ubuntu-10.10-server-i386-netboot.iso",
|
5
|
+
:iso_file => "ubuntu-10.10-server-i386-netboot.iso",
|
6
6
|
:iso_src => "http://archive.ubuntu.com/ubuntu/dists/maverick/main/installer-i386/current/images/netboot/mini.iso",
|
7
7
|
:iso_md5 => "02abb1a71bde21a1335e9368dad529ca",
|
8
8
|
:iso_download_timeout => "1000",
|
9
|
-
:boot_wait => "10"
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
:kickstart_port => "7122", :kickstart_timeout => "10000"
|
19
|
-
:ssh_login_timeout => "10000"
|
9
|
+
:boot_wait => "10", :boot_cmd_sequence => [
|
10
|
+
'<Tabr>',
|
11
|
+
'noapic preseed/url=http://%IP%:%PORT%/preseed.cfg ',
|
12
|
+
'debian-installer=en_US auto locale=en_US kbd-chooser/method=us ',
|
13
|
+
'hostname=%NAME% ',
|
14
|
+
'fb=false debconf/frontend=noninteractive ',
|
15
|
+
'console-setup/ask_detect=false console-setup/modelcode=pc105 console-setup/layoutcode=us ',
|
16
|
+
' -- <Enter>'
|
17
|
+
],
|
18
|
+
:kickstart_port => "7122", :kickstart_timeout => "10000", :kickstart_file => "preseed.cfg",
|
19
|
+
:ssh_login_timeout => "10000", :ssh_user => "vagrant", :ssh_password => "vagrant", :ssh_key => "",
|
20
20
|
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
21
21
|
:sudo_cmd => "echo '%p'|sudo -S sh '%f'",
|
22
22
|
:shutdown_cmd => "shutdown -P now",
|
23
|
-
:postinstall_files => [ "postinstall.sh"]
|
24
|
-
|
25
|
-
)
|
23
|
+
:postinstall_files => [ "postinstall.sh"], :postinstall_timeout => "10000"
|
24
|
+
})
|
@@ -31,14 +31,13 @@ cd /home/vagrant/.ssh
|
|
31
31
|
wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys
|
32
32
|
chown -R vagrant /home/vagrant/.ssh
|
33
33
|
|
34
|
-
#
|
34
|
+
#Installing the virtualbox guest additions
|
35
35
|
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
|
36
|
-
#INstalling the virtualbox guest additions
|
37
36
|
cd /tmp
|
38
|
-
wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
|
37
|
+
wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
|
39
38
|
mount -o loop VBoxGuestAdditions_$VBOX_VERSION.iso /mnt
|
40
39
|
sh /mnt/VBoxLinuxAdditions.run
|
41
40
|
umount /mnt
|
42
41
|
|
43
42
|
rm VBoxGuestAdditions_$VBOX_VERSION.iso
|
44
|
-
exit
|
43
|
+
exit
|
@@ -9,7 +9,7 @@ d-i netcfg/get_domain string unassigned-domain
|
|
9
9
|
|
10
10
|
# Continue without a default route
|
11
11
|
# Not working , specify a dummy in the DHCP
|
12
|
-
#d-i netcfg/no_default_route boolean
|
12
|
+
#d-i netcfg/no_default_route boolean
|
13
13
|
|
14
14
|
d-i time/zone string Europe/Brussels
|
15
15
|
d-i clock-setup/utc-auto boolean true
|
@@ -54,7 +54,7 @@ d-i partman-auto-lvm/guided_size string max
|
|
54
54
|
## Default user, we can get away with a recipe to change this
|
55
55
|
d-i passwd/user-fullname string vagrant
|
56
56
|
d-i passwd/username string vagrant
|
57
|
-
d-i passwd/user-password password vagrant
|
57
|
+
d-i passwd/user-password password vagrant
|
58
58
|
d-i passwd/user-password-again password vagrant
|
59
59
|
d-i user-setup/encrypt-home boolean false
|
60
60
|
d-i user-setup/allow-password-weak boolean true
|
@@ -1,25 +1,24 @@
|
|
1
|
-
Veewee::Session.declare(
|
1
|
+
Veewee::Session.declare({
|
2
2
|
:cpu_count => '1', :memory_size=> '384',
|
3
|
-
:disk_size => '10140', :disk_format => 'VDI'
|
3
|
+
:disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off',
|
4
4
|
:os_type_id => 'Ubuntu',
|
5
|
-
:iso_file => "ubuntu-10.10-server-i386.iso",
|
5
|
+
:iso_file => "ubuntu-10.10-server-i386.iso",
|
6
6
|
:iso_src => "http://releases.ubuntu.com/maverick/ubuntu-10.10-server-i386.iso",
|
7
7
|
:iso_md5 => "ce1cee108de737d7492e37069eed538e",
|
8
8
|
:iso_download_timeout => "1000",
|
9
|
-
:boot_wait => "10"
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
:kickstart_port => "7122", :kickstart_timeout => "10000"
|
19
|
-
:ssh_login_timeout => "10000"
|
9
|
+
:boot_wait => "10", :boot_cmd_sequence => [
|
10
|
+
'<Esc><Esc><Enter>',
|
11
|
+
'/install/vmlinuz noapic preseed/url=http://%IP%:%PORT%/preseed.cfg ',
|
12
|
+
'debian-installer=en_US auto locale=en_US kbd-chooser/method=us ',
|
13
|
+
'hostname=%NAME% ',
|
14
|
+
'fb=false debconf/frontend=noninteractive ',
|
15
|
+
'console-setup/ask_detect=false console-setup/modelcode=pc105 console-setup/layoutcode=us ',
|
16
|
+
'initrd=/install/initrd.gz -- <Enter>'
|
17
|
+
],
|
18
|
+
:kickstart_port => "7122", :kickstart_timeout => "10000", :kickstart_file => "preseed.cfg",
|
19
|
+
:ssh_login_timeout => "10000", :ssh_user => "vagrant", :ssh_password => "vagrant", :ssh_key => "",
|
20
20
|
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
21
21
|
:sudo_cmd => "echo '%p'|sudo -S sh '%f'",
|
22
22
|
:shutdown_cmd => "shutdown -P now",
|
23
|
-
:postinstall_files => [ "postinstall.sh"]
|
24
|
-
|
25
|
-
)
|
23
|
+
:postinstall_files => [ "postinstall.sh"], :postinstall_timeout => "10000"
|
24
|
+
})
|
@@ -31,14 +31,13 @@ cd /home/vagrant/.ssh
|
|
31
31
|
wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys
|
32
32
|
chown -R vagrant /home/vagrant/.ssh
|
33
33
|
|
34
|
-
#
|
34
|
+
#Installing the virtualbox guest additions
|
35
35
|
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
|
36
|
-
#INstalling the virtualbox guest additions
|
37
36
|
cd /tmp
|
38
|
-
wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
|
37
|
+
wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
|
39
38
|
mount -o loop VBoxGuestAdditions_$VBOX_VERSION.iso /mnt
|
40
39
|
sh /mnt/VBoxLinuxAdditions.run
|
41
40
|
umount /mnt
|
42
41
|
|
43
42
|
rm VBoxGuestAdditions_$VBOX_VERSION.iso
|
44
|
-
exit
|
43
|
+
exit
|
@@ -9,7 +9,7 @@ d-i netcfg/get_domain string unassigned-domain
|
|
9
9
|
|
10
10
|
# Continue without a default route
|
11
11
|
# Not working , specify a dummy in the DHCP
|
12
|
-
#d-i netcfg/no_default_route boolean
|
12
|
+
#d-i netcfg/no_default_route boolean
|
13
13
|
|
14
14
|
d-i time/zone string Europe/Brussels
|
15
15
|
d-i clock-setup/utc-auto boolean true
|
@@ -54,14 +54,14 @@ d-i partman-auto-lvm/guided_size string max
|
|
54
54
|
## Default user, we can get away with a recipe to change this
|
55
55
|
d-i passwd/user-fullname string vagrant
|
56
56
|
d-i passwd/username string vagrant
|
57
|
-
d-i passwd/user-password password vagrant
|
57
|
+
d-i passwd/user-password password vagrant
|
58
58
|
d-i passwd/user-password-again password vagrant
|
59
59
|
d-i user-setup/encrypt-home boolean false
|
60
60
|
d-i user-setup/allow-password-weak boolean true
|
61
61
|
|
62
62
|
## minimum is puppet and ssh and ntp
|
63
63
|
# Individual additional packages to install
|
64
|
-
d-i pkgsel/include string openssh-server
|
64
|
+
d-i pkgsel/include string openssh-server ntp
|
65
65
|
|
66
66
|
# Whether to upgrade packages after debootstrap.
|
67
67
|
# Allowed values: none, safe-upgrade, full-upgrade
|
@@ -84,4 +84,4 @@ d-i pkgsel/update-policy select none
|
|
84
84
|
#choose-mirror-bin mirror/suite select maverick
|
85
85
|
#d-i debian-installer/allow_unauthenticated string true
|
86
86
|
|
87
|
-
choose-mirror-bin mirror/http/proxy string
|
87
|
+
choose-mirror-bin mirror/http/proxy string
|