veewee 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/Rakefile +23 -23
- data/bin/veewee +1 -1
- data/doc/kvm.md +58 -9
- data/doc/providers.md +2 -2
- data/doc/vagrant.md +1 -1
- data/lib/vagrant_init.rb +0 -1
- data/lib/veewee/cli.rb +1 -1
- data/lib/veewee/command.rb +2 -2
- data/lib/veewee/command/fusion.rb +2 -2
- data/lib/veewee/command/kvm.rb +1 -1
- data/lib/veewee/command/parallels.rb +2 -2
- data/lib/veewee/command/vagrant/define.rb +1 -1
- data/lib/veewee/command/vagrant/undefine.rb +1 -1
- data/lib/veewee/command/vbox.rb +2 -2
- data/lib/veewee/config.rb +8 -10
- data/lib/veewee/definition.rb +41 -41
- data/lib/veewee/definitions.rb +27 -30
- data/lib/veewee/environment.rb +16 -16
- data/lib/veewee/error.rb +18 -15
- data/lib/veewee/provider/core/box/build.rb +1 -1
- data/lib/veewee/provider/kvm/box.rb +1 -6
- data/lib/veewee/provider/kvm/box/validate_kvm.rb +1 -1
- data/lib/veewee/provider/kvm/provider.rb +19 -32
- data/lib/veewee/provider/virtualbox/box/helper/create.rb +5 -1
- data/lib/veewee/providers.rb +22 -21
- data/lib/veewee/template.rb +9 -9
- data/lib/veewee/templates.rb +14 -15
- data/lib/veewee/ui.rb +7 -7
- data/lib/veewee/version.rb +1 -1
- data/templates/CentOS-6.3-i386-minimal/base.sh +1 -1
- data/templates/CentOS-6.3-i386-minimal/definition.rb +13 -4
- data/templates/CentOS-6.3-i386-minimal/ks.cfg +50 -14
- data/templates/CentOS-6.3-i386-minimal/virtualbox.sh +3 -3
- data/templates/CentOS-6.3-x86_64-minimal/base.sh +1 -1
- data/templates/CentOS-6.3-x86_64-netboot/base.sh +14 -0
- data/templates/CentOS-6.3-x86_64-netboot/chef.sh +3 -0
- data/templates/CentOS-6.3-x86_64-netboot/cleanup.sh +5 -0
- data/templates/CentOS-6.3-x86_64-netboot/definition.rb +40 -0
- data/templates/CentOS-6.3-x86_64-netboot/ks.cfg +41 -0
- data/templates/CentOS-6.3-x86_64-netboot/puppet.sh +12 -0
- data/templates/CentOS-6.3-x86_64-netboot/ruby.sh +3 -0
- data/templates/CentOS-6.3-x86_64-netboot/vagrant.sh +18 -0
- data/templates/CentOS-6.3-x86_64-netboot/virtualbox.sh +8 -0
- data/templates/{Debian-7.0-b2-i386-netboot → CentOS-6.3-x86_64-netboot}/zerodisk.sh +0 -0
- data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-amd64-netboot}/base.sh +2 -3
- data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-amd64-netboot}/chef.sh +0 -0
- data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-amd64-netboot}/cleanup-virtualbox.sh +0 -0
- data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-amd64-netboot}/cleanup.sh +0 -0
- data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-amd64-netboot}/definition.rb +3 -3
- data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-amd64-netboot}/preseed.cfg +0 -0
- data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-amd64-netboot}/puppet.sh +0 -0
- data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-amd64-netboot}/ruby.sh +0 -0
- data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-amd64-netboot}/vagrant.sh +0 -0
- data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-amd64-netboot}/virtualbox.sh +0 -0
- data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-amd64-netboot}/zerodisk.sh +0 -0
- data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-i386-netboot}/base.sh +2 -3
- data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-i386-netboot}/chef.sh +0 -0
- data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-i386-netboot}/cleanup-virtualbox.sh +0 -0
- data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-i386-netboot}/cleanup.sh +0 -0
- data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-i386-netboot}/definition.rb +3 -3
- data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-i386-netboot}/preseed.cfg +0 -0
- data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-i386-netboot}/puppet.sh +0 -0
- data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-i386-netboot}/ruby.sh +0 -0
- data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-i386-netboot}/vagrant.sh +0 -0
- data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-i386-netboot}/virtualbox.sh +0 -0
- data/templates/Debian-7.0-b4-i386-netboot/zerodisk.sh +3 -0
- data/templates/Fedora-18-i386/definition.rb +6 -6
- data/templates/Fedora-18-i386/postinstall.sh +3 -1
- data/templates/Fedora-18-x86_64/definition.rb +5 -5
- data/templates/Fedora-18-x86_64/postinstall.sh +6 -1
- data/templates/ubuntu-12.04.1-server-amd64-packages/postinstall.sh +4 -5
- data/templates/ubuntu-12.04.1-server-amd64/postinstall.sh +4 -5
- data/templates/ubuntu-8.04.4-server-amd64/postinstall.sh +6 -6
- data/templates/ubuntu-8.04.4-server-i386/postinstall.sh +6 -6
- data/templates/windows-8-amd64/Autounattend.xml +140 -0
- data/templates/windows-8-amd64/README.md +134 -0
- data/templates/windows-8-amd64/cygwin-setup.exe +0 -0
- data/templates/windows-8-amd64/definition.rb +101 -0
- data/templates/windows-8-amd64/install-cygwin-sshd.bat +38 -0
- data/templates/windows-8-amd64/install-winrm.bat +11 -0
- data/templates/windows-8-amd64/oracle-cert.cer +0 -0
- data/templates/windows-8-amd64/postinstall.sh +122 -0
- data/templates/windows-8-amd64/winrm.rb +8 -0
- data/templates/windows-8-i386/Autounattend.xml +140 -0
- data/templates/windows-8-i386/README.md +134 -0
- data/templates/windows-8-i386/cygwin-setup.exe +0 -0
- data/templates/windows-8-i386/definition.rb +101 -0
- data/templates/windows-8-i386/install-cygwin-sshd.bat +38 -0
- data/templates/windows-8-i386/install-winrm.bat +11 -0
- data/templates/windows-8-i386/oracle-cert.cer +0 -0
- data/templates/windows-8-i386/postinstall.sh +122 -0
- data/templates/windows-8-i386/winrm.rb +8 -0
- data/test/build_realtest.rb +4 -4
- data/veewee.gemspec +8 -9
- metadata +55 -27
@@ -0,0 +1,8 @@
|
|
1
|
+
# Installing the virtualbox guest additions
|
2
|
+
VBOX_VERSION=$(cat /home/veewee/.vbox_version)
|
3
|
+
cd /tmp
|
4
|
+
mount -o loop /home/veewee/VBoxGuestAdditions_$VBOX_VERSION.iso /mnt
|
5
|
+
sh /mnt/VBoxLinuxAdditions.run
|
6
|
+
umount /mnt
|
7
|
+
rm -rf /home/veewee/VBoxGuestAdditions_*.iso
|
8
|
+
|
File without changes
|
@@ -1,13 +1,12 @@
|
|
1
1
|
# Update the box
|
2
2
|
apt-get -y update
|
3
3
|
apt-get -y install linux-headers-$(uname -r) build-essential
|
4
|
-
apt-get -y install zlib1g-dev libssl-dev
|
4
|
+
apt-get -y install zlib1g-dev libssl-dev libreadline-gplv2-dev
|
5
5
|
apt-get -y install curl unzip
|
6
6
|
apt-get clean
|
7
7
|
|
8
8
|
# Set up sudo
|
9
|
-
|
10
|
-
sed -i -e 's/%sudo\s+ALL=(ALL:ALL) ALL/%sudo ALL=NOPASSWD:ALL/g' /etc/sudoers
|
9
|
+
echo 'vagrant ALL=NOPASSWD:ALL' > /etc/sudoers.d/vagrant
|
11
10
|
|
12
11
|
# Tweak sshd to prevent DNS resolution (speed up logins)
|
13
12
|
echo 'UseDNS no' >> /etc/ssh/sshd_config
|
File without changes
|
data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-amd64-netboot}/cleanup-virtualbox.sh
RENAMED
File without changes
|
File without changes
|
@@ -5,9 +5,9 @@ Veewee::Definition.declare({
|
|
5
5
|
:memory_size=> '256',
|
6
6
|
:disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off',
|
7
7
|
:os_type_id => 'Debian',
|
8
|
-
:iso_file => "debian-wheezy-DI-
|
9
|
-
:iso_src => "http://cdimage.debian.org/cdimage/
|
10
|
-
:iso_md5 => "
|
8
|
+
:iso_file => "debian-wheezy-DI-b4-amd64-netinst.iso",
|
9
|
+
:iso_src => "http://cdimage.debian.org/cdimage/wheezy_di_beta4/amd64/iso-cd/debian-wheezy-DI-b4-amd64-netinst.iso",
|
10
|
+
:iso_md5 => "9fcd2bb541f9b6b32f2a17116d606bed",
|
11
11
|
:iso_download_timeout => "1000",
|
12
12
|
:boot_wait => "10", :boot_cmd_sequence => [
|
13
13
|
'<Esc>',
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,13 +1,12 @@
|
|
1
1
|
# Update the box
|
2
2
|
apt-get -y update
|
3
3
|
apt-get -y install linux-headers-$(uname -r) build-essential
|
4
|
-
apt-get -y install zlib1g-dev libssl-dev
|
4
|
+
apt-get -y install zlib1g-dev libssl-dev libreadline-gplv2-dev
|
5
5
|
apt-get -y install curl unzip
|
6
6
|
apt-get clean
|
7
7
|
|
8
8
|
# Set up sudo
|
9
|
-
|
10
|
-
sed -i -e 's/%sudo[ \t]*ALL=(ALL:ALL) ALL/%sudo ALL=NOPASSWD:ALL/g' /etc/sudoers
|
9
|
+
echo 'vagrant ALL=NOPASSWD:ALL' > /etc/sudoers.d/vagrant
|
11
10
|
|
12
11
|
# Tweak sshd to prevent DNS resolution (speed up logins)
|
13
12
|
echo 'UseDNS no' >> /etc/ssh/sshd_config
|
File without changes
|
data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-i386-netboot}/cleanup-virtualbox.sh
RENAMED
File without changes
|
File without changes
|
@@ -5,9 +5,9 @@ Veewee::Definition.declare({
|
|
5
5
|
:memory_size=> '256',
|
6
6
|
:disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off',
|
7
7
|
:os_type_id => 'Debian',
|
8
|
-
:iso_file => "debian-wheezy-DI-
|
9
|
-
:iso_src => "http://cdimage.debian.org/cdimage/
|
10
|
-
:iso_md5 => "
|
8
|
+
:iso_file => "debian-wheezy-DI-b4-i386-netinst.iso",
|
9
|
+
:iso_src => "http://cdimage.debian.org/cdimage/wheezy_di_beta4/i386/iso-cd/debian-wheezy-DI-b4-i386-netinst.iso",
|
10
|
+
:iso_md5 => "34d0ae973715c7a31646281c70839809",
|
11
11
|
:iso_download_timeout => "1000",
|
12
12
|
:boot_wait => "10", :boot_cmd_sequence => [
|
13
13
|
'<Esc>',
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,11 +1,11 @@
|
|
1
1
|
Veewee::Session.declare({
|
2
|
-
# Minimum RAM requirement for installation is
|
3
|
-
:cpu_count => '1', :memory_size=> '
|
2
|
+
# Minimum RAM requirement for installation is 512MB.
|
3
|
+
:cpu_count => '1', :memory_size=> '512',
|
4
4
|
:disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off', :hwvirtext => 'on',
|
5
5
|
:os_type_id => 'Fedora',
|
6
|
-
:iso_file => "Fedora-18-Beta-
|
7
|
-
:iso_src => "http://
|
8
|
-
:iso_md5 => "
|
6
|
+
:iso_file => "Fedora-18-Beta-i386-DVD.iso",
|
7
|
+
:iso_src => "http://download.fedoraproject.org/pub/fedora/linux/releases/test/18-Beta/Fedora/i386/iso/Fedora-18-Beta-i386-DVD.iso",
|
8
|
+
:iso_md5 => "fe79303aec5231df82ebe4a30e0dc83c",
|
9
9
|
:iso_download_timeout => 1000,
|
10
10
|
:boot_wait => "10", :boot_cmd_sequence => [ '<Tab> linux text biosdevname=0 ks=http://%IP%:%PORT%/ks.cfg<Enter><Enter>' ],
|
11
11
|
:kickstart_port => "7122", :kickstart_timeout => 10000, :kickstart_file => "ks.cfg",
|
@@ -13,5 +13,5 @@ Veewee::Session.declare({
|
|
13
13
|
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
14
14
|
:sudo_cmd => "echo '%p'|sudo -S sh '%f'",
|
15
15
|
:shutdown_cmd => "/sbin/halt -h -p",
|
16
|
-
:postinstall_files => [ "postinstall.sh"], :postinstall_timeout => 10000
|
16
|
+
:postinstall_files => [ "postinstall.sh" ], :postinstall_timeout => 10000
|
17
17
|
})
|
@@ -4,13 +4,14 @@ date > /etc/vagrant_box_build_time
|
|
4
4
|
|
5
5
|
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
|
6
6
|
|
7
|
-
yum -y update
|
7
|
+
yum -y update --exclude kernel*
|
8
8
|
|
9
9
|
yum -y install \
|
10
10
|
ruby \
|
11
11
|
ruby-devel \
|
12
12
|
puppet \
|
13
13
|
rubygems \
|
14
|
+
rubygem-bunny \
|
14
15
|
rubygem-erubis \
|
15
16
|
rubygem-highline \
|
16
17
|
rubygem-json \
|
@@ -18,6 +19,7 @@ yum -y install \
|
|
18
19
|
rubygem-net-ssh \
|
19
20
|
rubygem-polyglot \
|
20
21
|
rubygem-rest-client \
|
22
|
+
rubygem-systemu \
|
21
23
|
rubygem-treetop \
|
22
24
|
rubygem-uuidtools \
|
23
25
|
wget \
|
@@ -1,11 +1,11 @@
|
|
1
1
|
Veewee::Session.declare({
|
2
|
-
# Minimum RAM requirement for installation is
|
3
|
-
:cpu_count => '1', :memory_size=> '
|
2
|
+
# Minimum RAM requirement for installation is 512MB.
|
3
|
+
:cpu_count => '1', :memory_size=> '512',
|
4
4
|
:disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off', :hwvirtext => 'on',
|
5
5
|
:os_type_id => 'Fedora_64',
|
6
|
-
:iso_file => "Fedora-18-Beta-
|
7
|
-
:iso_src => "http://
|
8
|
-
:iso_md5 => "
|
6
|
+
:iso_file => "Fedora-18-Beta-x86_64-DVD.iso",
|
7
|
+
:iso_src => "http://download.fedoraproject.org/pub/fedora/linux/releases/test/18-Beta/Fedora/x86_64/iso/Fedora-18-Beta-x86_64-DVD.iso",
|
8
|
+
:iso_md5 => "82b755826e205da0973404be937991a1",
|
9
9
|
:iso_download_timeout => 1000,
|
10
10
|
:boot_wait => "10", :boot_cmd_sequence => [ '<Tab> linux text biosdevname=0 ks=http://%IP%:%PORT%/ks.cfg<Enter><Enter>' ],
|
11
11
|
:kickstart_port => "7122", :kickstart_timeout => 10000, :kickstart_file => "ks.cfg",
|
@@ -4,13 +4,17 @@ date > /etc/vagrant_box_build_time
|
|
4
4
|
|
5
5
|
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
|
6
6
|
|
7
|
-
|
7
|
+
# Must exclude kernel for now. Otherwise, kernel gets upgraded before reboot,
|
8
|
+
# but VirtualBox tools get compiled against the old kernel, so the fresh
|
9
|
+
# image will refuse to start under Vagrant.
|
10
|
+
yum -y update --exclude kernel*
|
8
11
|
|
9
12
|
yum -y install \
|
10
13
|
ruby \
|
11
14
|
ruby-devel \
|
12
15
|
puppet \
|
13
16
|
rubygems \
|
17
|
+
rubygem-bunny \
|
14
18
|
rubygem-erubis \
|
15
19
|
rubygem-highline \
|
16
20
|
rubygem-json \
|
@@ -18,6 +22,7 @@ yum -y install \
|
|
18
22
|
rubygem-net-ssh \
|
19
23
|
rubygem-polyglot \
|
20
24
|
rubygem-rest-client \
|
25
|
+
rubygem-systemu \
|
21
26
|
rubygem-treetop \
|
22
27
|
rubygem-uuidtools \
|
23
28
|
wget \
|
@@ -21,13 +21,12 @@ sh /mnt/VBoxLinuxAdditions.run
|
|
21
21
|
umount /mnt
|
22
22
|
|
23
23
|
rm VBoxGuestAdditions_$VBOX_VERSION.iso
|
24
|
+
rm /home/vagrant/VBoxGuestAdditions_$VBOX_VERSION.iso
|
24
25
|
|
25
|
-
# Setup sudo to allow no-password sudo for "
|
26
|
-
|
27
|
-
usermod -a -G admin vagrant
|
26
|
+
# Setup sudo to allow no-password sudo for "sudo"
|
27
|
+
usermod -a -G sudo vagrant
|
28
28
|
cp /etc/sudoers /etc/sudoers.orig
|
29
|
-
sed -i -e '
|
30
|
-
sed -i -e 's/%admin ALL=(ALL) ALL/%admin ALL=NOPASSWD:ALL/g' /etc/sudoers
|
29
|
+
sed -i -e 's/%sudo ALL=(ALL:ALL) ALL/%sudo ALL=(ALL:ALL) NOPASSWD: ALL/' /etc/sudoers
|
31
30
|
|
32
31
|
# Add puppet user and group
|
33
32
|
adduser --system --group --home /var/lib/puppet puppet
|
@@ -22,13 +22,12 @@ sh /mnt/VBoxLinuxAdditions.run
|
|
22
22
|
umount /mnt
|
23
23
|
|
24
24
|
rm VBoxGuestAdditions_$VBOX_VERSION.iso
|
25
|
+
rm /home/vagrant/VBoxGuestAdditions_$VBOX_VERSION.iso
|
25
26
|
|
26
|
-
# Setup sudo to allow no-password sudo for "
|
27
|
-
|
28
|
-
usermod -a -G admin vagrant
|
27
|
+
# Setup sudo to allow no-password sudo for "sudo"
|
28
|
+
usermod -a -G sudo vagrant
|
29
29
|
cp /etc/sudoers /etc/sudoers.orig
|
30
|
-
sed -i -e '
|
31
|
-
sed -i -e 's/%admin ALL=(ALL) ALL/%admin ALL=NOPASSWD:ALL/g' /etc/sudoers
|
30
|
+
sed -i -e 's/%sudo ALL=(ALL:ALL) ALL/%sudo ALL=(ALL:ALL) NOPASSWD:ALL/' /etc/sudoers
|
32
31
|
|
33
32
|
# Add puppet user and group
|
34
33
|
adduser --system --group --home /var/lib/puppet puppet
|
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
date > /etc/vagrant_box_build_time
|
4
4
|
|
5
|
+
#Updating the box
|
6
|
+
apt-get -y update
|
7
|
+
apt-get -y install linux-headers-$(uname -r) build-essential
|
8
|
+
apt-get -y install zlib1g-dev libssl-dev libreadline5-dev nfs-common
|
9
|
+
apt-get clean
|
10
|
+
|
5
11
|
#Installing the virtualbox guest additions
|
6
12
|
apt-get -y install dkms
|
7
13
|
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
|
@@ -13,12 +19,6 @@ umount /mnt
|
|
13
19
|
|
14
20
|
rm VBoxGuestAdditions_$VBOX_VERSION.iso
|
15
21
|
|
16
|
-
#Updating the box
|
17
|
-
apt-get -y update
|
18
|
-
apt-get -y install linux-headers-$(uname -r) build-essential
|
19
|
-
apt-get -y install zlib1g-dev libssl-dev libreadline5-dev nfs-common
|
20
|
-
apt-get clean
|
21
|
-
|
22
22
|
#Setting up sudo
|
23
23
|
cp /etc/sudoers /etc/sudoers.orig
|
24
24
|
sed -i -e 's/%admin ALL=(ALL) ALL/%admin ALL=NOPASSWD:ALL/g' /etc/sudoers
|
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
date > /etc/vagrant_box_build_time
|
4
4
|
|
5
|
+
#Updating the box
|
6
|
+
apt-get -y update
|
7
|
+
apt-get -y install linux-headers-$(uname -r) build-essential
|
8
|
+
apt-get -y install zlib1g-dev libssl-dev libreadline5-dev nfs-common
|
9
|
+
apt-get clean
|
10
|
+
|
5
11
|
#Installing the virtualbox guest additions
|
6
12
|
apt-get -y install dkms
|
7
13
|
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
|
@@ -13,12 +19,6 @@ umount /mnt
|
|
13
19
|
|
14
20
|
rm VBoxGuestAdditions_$VBOX_VERSION.iso
|
15
21
|
|
16
|
-
#Updating the box
|
17
|
-
apt-get -y update
|
18
|
-
apt-get -y install linux-headers-$(uname -r) build-essential
|
19
|
-
apt-get -y install zlib1g-dev libssl-dev libreadline5-dev nfs-common
|
20
|
-
apt-get clean
|
21
|
-
|
22
22
|
#Setting up sudo
|
23
23
|
cp /etc/sudoers /etc/sudoers.orig
|
24
24
|
sed -i -e 's/%admin ALL=(ALL) ALL/%admin ALL=NOPASSWD:ALL/g' /etc/sudoers
|
@@ -0,0 +1,140 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<unattend xmlns="urn:schemas-microsoft-com:unattend">
|
3
|
+
<servicing></servicing>
|
4
|
+
<settings pass="windowsPE">
|
5
|
+
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
6
|
+
<DiskConfiguration>
|
7
|
+
<Disk wcm:action="add">
|
8
|
+
<CreatePartitions>
|
9
|
+
<CreatePartition wcm:action="add">
|
10
|
+
<Order>1</Order>
|
11
|
+
<Type>Primary</Type>
|
12
|
+
<Extend>true</Extend>
|
13
|
+
</CreatePartition>
|
14
|
+
</CreatePartitions>
|
15
|
+
<ModifyPartitions>
|
16
|
+
<ModifyPartition wcm:action="add">
|
17
|
+
<Extend>false</Extend>
|
18
|
+
<Format>NTFS</Format>
|
19
|
+
<Letter>C</Letter>
|
20
|
+
<Order>1</Order>
|
21
|
+
<PartitionID>1</PartitionID>
|
22
|
+
<Label>Windows 2008</Label>
|
23
|
+
</ModifyPartition>
|
24
|
+
</ModifyPartitions>
|
25
|
+
<DiskID>0</DiskID>
|
26
|
+
<WillWipeDisk>true</WillWipeDisk>
|
27
|
+
</Disk>
|
28
|
+
<WillShowUI>OnError</WillShowUI>
|
29
|
+
</DiskConfiguration>
|
30
|
+
<UserData>
|
31
|
+
<AcceptEula>true</AcceptEula>
|
32
|
+
<FullName>Vagrant Fullname</FullName>
|
33
|
+
<Organization>Vagrant Inc</Organization>
|
34
|
+
<ProductKey>
|
35
|
+
<WillShowUI>Always</WillShowUI>
|
36
|
+
</ProductKey>
|
37
|
+
</UserData>
|
38
|
+
<ImageInstall>
|
39
|
+
<OSImage>
|
40
|
+
<InstallTo>
|
41
|
+
<DiskID>0</DiskID>
|
42
|
+
<PartitionID>1</PartitionID>
|
43
|
+
</InstallTo>
|
44
|
+
<WillShowUI>OnError</WillShowUI>
|
45
|
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
46
|
+
<InstallFrom>
|
47
|
+
<MetaData wcm:action="add">
|
48
|
+
<Key>/IMAGE/NAME</Key>
|
49
|
+
<Value>Windows Longhorn SERVERSTANDARD</Value>
|
50
|
+
</MetaData>
|
51
|
+
</InstallFrom>
|
52
|
+
</OSImage>
|
53
|
+
</ImageInstall>
|
54
|
+
</component>
|
55
|
+
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
56
|
+
<SetupUILanguage>
|
57
|
+
<UILanguage>en-US</UILanguage>
|
58
|
+
</SetupUILanguage>
|
59
|
+
<InputLocale>en-US</InputLocale>
|
60
|
+
<SystemLocale>en-US</SystemLocale>
|
61
|
+
<UILanguage>en-US</UILanguage>
|
62
|
+
<UILanguageFallback>en-US</UILanguageFallback>
|
63
|
+
<UserLocale>en-US</UserLocale>
|
64
|
+
</component>
|
65
|
+
</settings>
|
66
|
+
<settings pass="oobeSystem">
|
67
|
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
68
|
+
<UserAccounts>
|
69
|
+
<AdministratorPassword>
|
70
|
+
<Value>dgBhAGcAcgBhAG4AdABBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByAFAAYQBzAHMAdwBvAHIAZAA=</Value>
|
71
|
+
<PlainText>false</PlainText>
|
72
|
+
</AdministratorPassword>
|
73
|
+
<LocalAccounts>
|
74
|
+
<LocalAccount wcm:action="add">
|
75
|
+
<Password>
|
76
|
+
<Value>dgBhAGcAcgBhAG4AdABQAGEAcwBzAHcAbwByAGQA</Value>
|
77
|
+
<PlainText>false</PlainText>
|
78
|
+
</Password>
|
79
|
+
<Description>Vagrant User</Description>
|
80
|
+
<DisplayName>vagrant</DisplayName>
|
81
|
+
<Group>administrators</Group>
|
82
|
+
<Name>vagrant</Name>
|
83
|
+
</LocalAccount>
|
84
|
+
</LocalAccounts>
|
85
|
+
</UserAccounts>
|
86
|
+
<OOBE>
|
87
|
+
<HideEULAPage>true</HideEULAPage>
|
88
|
+
<NetworkLocation>Home</NetworkLocation>
|
89
|
+
<ProtectYourPC>3</ProtectYourPC>
|
90
|
+
</OOBE>
|
91
|
+
<AutoLogon>
|
92
|
+
<Password>
|
93
|
+
<Value>dgBhAGcAcgBhAG4AdABQAGEAcwBzAHcAbwByAGQA</Value>
|
94
|
+
<PlainText>false</PlainText>
|
95
|
+
</Password>
|
96
|
+
<Username>administrator</Username>
|
97
|
+
<Enabled>true</Enabled>
|
98
|
+
</AutoLogon>
|
99
|
+
<FirstLogonCommands>
|
100
|
+
<SynchronousCommand wcm:action="add">
|
101
|
+
<CommandLine>cmd.exe /c a:install-winrm.bat</CommandLine>
|
102
|
+
<Description>Install Win RM</Description>
|
103
|
+
<Order>1</Order>
|
104
|
+
</SynchronousCommand>
|
105
|
+
<!-- <SynchronousCommand wcm:action="add"> -->
|
106
|
+
<!-- <CommandLine>cmd.exe /c a:install-chefclient.bat</CommandLine> -->
|
107
|
+
<!-- <Description>Install Chef Client</Description> -->
|
108
|
+
<!-- <Order>2</Order> -->
|
109
|
+
<!-- </SynchronousCommand> -->
|
110
|
+
<SynchronousCommand wcm:action="add">
|
111
|
+
<CommandLine>cmd.exe /c a:install-cygwin-sshd.bat</CommandLine>
|
112
|
+
<Description>Install Cygwin SSHD</Description>
|
113
|
+
<Order>2</Order>
|
114
|
+
</SynchronousCommand>
|
115
|
+
</FirstLogonCommands>
|
116
|
+
<ShowWindowsLive>false</ShowWindowsLive>
|
117
|
+
</component>
|
118
|
+
</settings>
|
119
|
+
<settings pass="specialize">
|
120
|
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
121
|
+
<OEMInformation>
|
122
|
+
<HelpCustomized>false</HelpCustomized>
|
123
|
+
</OEMInformation>
|
124
|
+
<!-- Rename computer here. -->
|
125
|
+
<ComputerName>vagrant-2008R2</ComputerName>
|
126
|
+
<TimeZone>New Zealand Standard Time</TimeZone>
|
127
|
+
<RegisteredOwner></RegisteredOwner>
|
128
|
+
</component>
|
129
|
+
<component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
130
|
+
<DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
|
131
|
+
</component>
|
132
|
+
<component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
133
|
+
<DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
|
134
|
+
</component>
|
135
|
+
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
136
|
+
<SkipAutoActivation>true</SkipAutoActivation>
|
137
|
+
</component>
|
138
|
+
</settings>
|
139
|
+
<cpi:offlineImage cpi:source="catalog:d:/sources/install_windows longhorn serverstandard.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
|
140
|
+
</unattend>
|