@@ -12,22 +12,22 @@ To build the base vm:
12
12
- Windows Server 2019: [ 17763.3650.221105-1748.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us.iso] ( https://software-static.download.prss.microsoft.com/dbazure/988969d5-f34g-4e03-ac9d-1f9786c66749/17763.3650.221105-1748.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us.iso ) (sha256 = 6dae072e7f78f4ccab74a45341de0d6e2d45c39be25f1f5920a2ab4f51d7bcbb)
13
13
- VirtIO drivers: [ virtio-win-0.1.240.iso] ( https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.240-1/virtio-win-0.1.240.iso ) (sha256 = ebd48258668f7f78e026ed276c28a9d19d83e020ffa080ad69910dc86bbcbcc6)
14
14
- Create zvol and libvirt guest with random UUID and MAC address
15
- - ` zfs create -V 90G mypool/ci /servo-windows2019 `
15
+ - ` zfs create -V 90G mypool/base /servo-windows2019 `
16
16
- ` virsh define windows2019.xml `
17
- - ` virt-clone --preserve-data --check path_in_use=off -o servo-windows2019-init -n servo-windows2019 -f /dev/zvol/mypool/ci /servo-windows2019 `
17
+ - ` virt-clone --preserve-data --check path_in_use=off -o servo-windows2019-init -n servo-windows2019 -f /dev/zvol/mypool/base /servo-windows2019 `
18
18
- ` virsh undefine servo-windows2019-init `
19
19
- Install Windows Server with desktop experience
20
20
- Core can build Servo, but trying to run it yields DeviceOpenFailed in surfman
21
21
- Load disk driver from ` E:\vioscsi\2k19\amd64 `
22
22
- Set password for Administrator to ` servo2024! `
23
23
- Once installed, shut down the guest: ` shutdown /s /t 0 `
24
- - Take a snapshot: ` zfs snapshot mypool/ci /servo-windows2019@0-fresh-install `
24
+ - Take a snapshot: ` zfs snapshot mypool/base /servo-windows2019@0-fresh-install `
25
25
- Update base vm image: ` ./mount-runner.sh servo-windows2019 $PWD/windows2019/configure-base.sh `
26
- - Take another snapshot: ` zfs snapshot mypool/ci /servo-windows2019@1-configure-base `
26
+ - Take another snapshot: ` zfs snapshot mypool/base /servo-windows2019@1-configure-base `
27
27
- Boot base vm guest: ` virsh start servo-windows2019 `
28
28
- The guest will reboot twice, due to the .NET and MSVC installations
29
29
- Once installed, shut down the guest: ` shutdown /s /t 0 `
30
- - Take another snapshot: ` zfs snapshot mypool/ci /servo-windows2019@2-ready `
30
+ - Take another snapshot: ` zfs snapshot mypool/base /servo-windows2019@2-ready `
31
31
32
32
To clone and start a new runner:
33
33
@@ -46,15 +46,15 @@ To build the base vm:
46
46
- Windows 10 (multi-edition ISO), English (United States): [ Win10_22H2_English_x64v1.iso] ( https://www.microsoft.com/en-us/software-download/windows10ISO ) (sha256 = a6f470ca6d331eb353b815c043e327a347f594f37ff525f17764738fe812852e)
47
47
- VirtIO drivers: [ virtio-win-0.1.240.iso] ( https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.240-1/virtio-win-0.1.240.iso ) (sha256 = ebd48258668f7f78e026ed276c28a9d19d83e020ffa080ad69910dc86bbcbcc6)
48
48
- Create zvol and libvirt guest with random UUID and MAC address
49
- - ` zfs create -V 90G mypool/ci /servo-windows10 `
49
+ - ` zfs create -V 90G mypool/base /servo-windows10 `
50
50
- ` virsh define windows10.xml `
51
- - ` virt-clone --preserve-data --check path_in_use=off -o servo-windows10-init -n servo-windows10 -f /dev/zvol/mypool/ci /servo-windows10 `
51
+ - ` virt-clone --preserve-data --check path_in_use=off -o servo-windows10-init -n servo-windows10 -f /dev/zvol/mypool/base /servo-windows10 `
52
52
- ` virsh undefine servo-windows10-init `
53
53
- Install Windows 10 Pro
54
54
- Click “I don't have a product key”
55
55
- Load disk driver from ` E:\vioscsi\w10\amd64 `
56
56
- Shut down the guest when you see “Let’s start with region. Is this right?”: ` virsh shutdown servo-windows10 `
57
- - Take a snapshot: ` zfs snapshot mypool/ci /servo-windows10@0-fresh-install `
57
+ - Take a snapshot: ` zfs snapshot mypool/base /servo-windows10@0-fresh-install `
58
58
- Boot base vm guest: ` virsh start servo-windows10 `
59
59
- Click “I don’t have internet”
60
60
- Click “Continue with limited setup”
@@ -63,15 +63,15 @@ To build the base vm:
63
63
- Turn off the six privacy settings
64
64
- Click “Not now” for Cortana
65
65
- Once installed, shut down the guest: ` shutdown /s /t 0 `
66
- - Take another snapshot: ` zfs snapshot mypool/ci /servo-windows10@1-oobe `
66
+ - Take another snapshot: ` zfs snapshot mypool/base /servo-windows10@1-oobe `
67
67
- Update base vm image: ` ./mount-runner.sh servo-windows10 $PWD/windows2019/configure-base.sh `
68
- - Take another snapshot: ` zfs snapshot mypool/ci /servo-windows10@2-configure-base `
68
+ - Take another snapshot: ` zfs snapshot mypool/base /servo-windows10@2-configure-base `
69
69
- Boot base vm guest: ` virsh start servo-windows10 `
70
70
- Open an elevated PowerShell: ** Win** +** X** , ** A**
71
71
- Allow running scripts: ` Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force `
72
72
- Run the init script once: ` C:\init\init.ps1 `
73
73
- Once installed, shut down the guest: ` shutdown /s /t 0 `
74
- - Take another snapshot: ` zfs snapshot mypool/ci /servo-windows10@3-ready `
74
+ - Take another snapshot: ` zfs snapshot mypool/base /servo-windows10@3-ready `
75
75
76
76
To clone and start a new runner:
77
77
@@ -87,9 +87,9 @@ To build the base vm:
87
87
- Download images into /var/lib/libvirt/images
88
88
- Ubuntu Server 22.04.4: [ ubuntu-22.04.4-live-server-amd64.iso] ( http://mirror.internode.on.net/pub/ubuntu/releases/22.04.4/ubuntu-22.04.4-live-server-amd64.iso )
89
89
- Create zvol and libvirt guest with random UUID and MAC address
90
- - ` zfs create -V 90G mypool/ci /servo-ubuntu2204 `
90
+ - ` zfs create -V 90G mypool/base /servo-ubuntu2204 `
91
91
- ` virsh define ubuntu2204.xml `
92
- - ` virt-clone --preserve-data --check path_in_use=off -o servo-ubuntu2204-init -n servo-ubuntu2204 -f /dev/zvol/mypool/ci /servo-ubuntu2204 `
92
+ - ` virt-clone --preserve-data --check path_in_use=off -o servo-ubuntu2204-init -n servo-ubuntu2204 -f /dev/zvol/mypool/base /servo-ubuntu2204 `
93
93
- ` virsh undefine servo-ubuntu2204-init `
94
94
- Install Ubuntu
95
95
- Uncheck “Set up this disk as an LVM group”
@@ -98,12 +98,12 @@ To build the base vm:
98
98
- Check “Install OpenSSH server”
99
99
- Uncheck “Allow password authentication over SSH”
100
100
- Once installed, shut down the guest
101
- - Take a snapshot: ` zfs snapshot mypool/ci /servo-ubuntu2204@0-fresh-install `
101
+ - Take a snapshot: ` zfs snapshot mypool/base /servo-ubuntu2204@0-fresh-install `
102
102
- Update base vm image: ` ./mount-runner.sh servo-ubuntu2204 $PWD/ubuntu2204/configure-base.sh `
103
- - Take another snapshot: ` zfs snapshot mypool/ci /servo-ubuntu2204@1-configure-base `
103
+ - Take another snapshot: ` zfs snapshot mypool/base /servo-ubuntu2204@1-configure-base `
104
104
- Boot base vm guest: ` virsh start servo-ubuntu2204 `
105
105
- Once installed, shut down the guest
106
- - Take another snapshot: ` zfs snapshot mypool/ci /servo-ubuntu2204@2-ready `
106
+ - Take another snapshot: ` zfs snapshot mypool/base /servo-ubuntu2204@2-ready `
107
107
108
108
To clone and start a new runner:
109
109
0 commit comments