Skip to content

Commit 2e77630

Browse files
authored
Patch Tuesday for November 2025 (microsoft#48366)
1 parent bfc6984 commit 2e77630

17 files changed

+45
-272
lines changed

scripts/azure-pipelines/android/azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828
- name: ANDROID_NDK_HOME
2929
value: /android-ndk-r28c
3030
- name: ANDROID_DOCKER_IMAGE
31-
value: 'vcpkgandroidwus.azurecr.io/vcpkg-android:2025-10-16'
31+
value: 'vcpkgandroidwus.azurecr.io/vcpkg-android:2025-11-11'
3232
- name: LINUX_DOCKER_IMAGE
33-
value: 'vcpkgandroidwus.azurecr.io/vcpkg-linux:2025-10-16'
33+
value: 'vcpkgandroidwus.azurecr.io/vcpkg-linux:2025-11-11'
3434
steps:
3535
# Note: /mnt is the Azure machines' temporary disk.
3636
- bash: |

scripts/azure-pipelines/azure-pipelines.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,6 @@ jobs:
6666
vcpkgToolSha: ${{ parameters.vcpkgToolSha }}
6767
tripletPattern: ${{ parameters.tripletPattern }}
6868

69-
- template: osx/azure-pipelines.yml
70-
parameters:
71-
jobName: x64_osx
72-
poolName: 'PrOsx-2025-09-11'
73-
vcpkgToolSha: ${{ parameters.vcpkgToolSha }}
74-
tripletPattern: ${{ parameters.tripletPattern }}
75-
7669
- template: osx/azure-pipelines.yml
7770
parameters:
7871
jobName: arm64_osx

scripts/azure-pipelines/linux/azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: VCPKG_DOWNLOADS
2828
value: /mnt/vcpkg-ci/downloads
2929
- name: LINUX_DOCKER_IMAGE
30-
value: 'vcpkgandroidwus.azurecr.io/vcpkg-linux:2025-10-16'
30+
value: 'vcpkgandroidwus.azurecr.io/vcpkg-linux:2025-11-11'
3131
steps:
3232
# Note: /mnt is the Azure machines' temporary disk.
3333
- bash: |

scripts/azure-pipelines/osx/README.md

Lines changed: 16 additions & 150 deletions
Original file line numberDiff line numberDiff line change
@@ -6,98 +6,14 @@ This is the checklist for what the vcpkg team does when updating the macOS machi
66

77
### Prerequisites
88

9-
- [ ] A Parallels license for amd64 or [macosvm](https://github.com/s-u/macosvm) allow-listed
9+
- [ ] [macosvm](https://github.com/s-u/macosvm) allow-listed
1010
by macOS for arm64. Note that the directory 'Parallels' is still used when using `macosvm`
1111
just so that scripts know where to find the VM and friends.
1212
- [ ] An Xcode .xip - you can get this from Apple's developer website,
1313
although you'll need to sign in first: <https://developer.apple.com/downloads>
1414
If you are doing this from a local macos box, you can skip to the "update the macos host" step.
1515
- [ ] An Xcode Command Line Tools installer
1616

17-
### Instructions (AMD64)
18-
19-
- [ ] Go to https://dev.azure.com/vcpkg/public/_settings/agentqueues , pick the current osx queue,
20-
and delete one of the agents that are idle.
21-
- [ ] Go to that machine in the KVM. (Passwords are stored as secrets in the CPP_GITHUB\vcpkg\vcpkgmm-passwords key vault)
22-
- [ ] Open the Parallels Control Center, and delete the active VM.
23-
- [ ] Update the macos host
24-
- [ ] Update or install parallels
25-
- [ ] Download the macOS installer from the app store. See https://support.apple.com/en-us/102662
26-
Note: This portion of the instructions is that which breaks most often depending on what Parallels and macOS are doing.
27-
You might need to use `softwareupdate --fetch-full-installer --full-installer-version 15.6.1` and point Parallels
28-
at that resulting installer in 'Applications' instead.
29-
- [ ] Run parallels, and select that installer you just downloaded. Name the VM "vcpkg-osx-<DATE>", for example "vcpkg-osx-2025-09-11".
30-
- [ ] When creating the VM, customize the hardware to the following:
31-
* 12 processors
32-
* 24000 MB of memory
33-
* 350 GB disk
34-
* Disable sound output
35-
* Disable microphone
36-
* Do not share mac camera
37-
- [ ] Install MacOS like you would on real hardware.
38-
* Set up as new
39-
* Apple ID: 'Set Up Later' / Skip
40-
* Account name: vcpkg
41-
* A very similar password :)
42-
* Don't enable Location Services
43-
* Share crashes with app developers
44-
* Don't enable Ask Siri
45-
- [ ] Install Parallels Tools
46-
- [ ] Restart the VM
47-
- [ ] Set the desktop wallpaper to a fixed color from Settings -> Wallpaper . (This makes the KVM a lot easier to use :) )
48-
- [ ] Disable automatic updates in the VM: Settings -> General -> Automatic Updates -> Disable them all
49-
- [ ] Enable remote login in System Settings -> General -> Sharing -> Remote Login
50-
- [ ] Update the Azure Agent URI in setup-box.sh to the current version. You can find this by going to the agent pool, selecting "New agent", picking macOS, and copying the link. For example https://download.agent.dev.azure.com/agent/4.261.0/vsts-agent-osx-x64-4.261.0.tar.gz
51-
- [ ] In the guest, set the vcpkg user to be able to use sudo without a password. From a dev machine:
52-
```sh
53-
scp path/to/Xcode.xip vcpkg@HOSTMACHINE:/Users/vcpkg/Xcode.xip
54-
ssh vcpkg@HOSTMACHINE
55-
rm ~/.ssh/known_hosts
56-
export GUEST_IP=`prlctl list --full | sed -nr 's/^.*running *([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*/\1/p'`
57-
export SSH_COOKIE=vcpkg@$GUEST_IP
58-
scp Xcode.xip $SSH_COOKIE:/Users/vcpkg/Xcode.xip
59-
ssh $SSH_COOKIE # and then enter the password here
60-
printf 'vcpkg\tALL=(ALL)\tNOPASSWD:\tALL\n' | sudo tee -a '/etc/sudoers.d/vcpkg'
61-
sudo chmod 0440 '/etc/sudoers.d/vcpkg'
62-
sudo mdutil -ad
63-
xip --expand Xcode.xip
64-
sudo mv Xcode.app /Applications/Xcode.app
65-
rm Xcode.xip
66-
exit
67-
```
68-
- [ ] Open Xcode from Applications in the guest GUI. Accept the EULA.
69-
- [ ] Update the Azure Agent URI in setup-box.sh to the current version. You can find this by going to the agent pool, selecting "New agent", picking macOS, and copying the link. For example https://download.agent.dev.azure.com/agent/4.261.0/vsts-agent-osx-x64-4.261.0.tar.gz
70-
- [ ] Copy setup-box.sh and the xcode installer renamed to 'clt.dmg' to the host. For example from a dev workstation:
71-
```sh
72-
scp ./setup-guest.sh vcpkg@HOSTMACHINE:/Users/vcpkg
73-
scp ./setup-box.sh vcpkg@HOSTMACHINE:/Users/vcpkg
74-
scp path/to/console/tools.dmg vcpkg@HOSTMACHINE:/Users/vcpkg/clt.dmg
75-
ssh vcpkg@HOSTMACHINE
76-
chmod +x setup-guest.sh
77-
./setup-guest.sh
78-
rm setup-guest.sh
79-
rm setup-box.sh
80-
rm clt.dmg
81-
exit
82-
```
83-
- [ ] Shut down the VM cleanly.
84-
- [ ] Ensure that there is no host system specific 'hardware' like macOS install .isos attached.
85-
- [ ] Set the VM 'Isolated'
86-
- [ ] Boot and then cleanly shut down the VM.
87-
- [ ] In Parallels control center, right click the VM and select "Prepare for Transfer"
88-
- [ ] In Parallels control center, right click the VM and remove it, but "Keep Files"
89-
- [ ] Copy the packaged VM to Azure Storage, with something like:
90-
```sh
91-
ssh vcpkg@HOSTMACHINE
92-
brew install azcopy
93-
azcopy copy ~/Parallels/vcpkg-osx-2025-09-11.pvmp "https://vcpkgimageminting.blob.core.windows.net/pvms?<SAS>"
94-
azcopy copy ~/Parallels/vcpkg-osx-2025-09-11.sha256.txt "https://vcpkgimageminting.blob.core.windows.net/pvms?<SAS>"
95-
exit
96-
```
97-
- [ ] Go to https://dev.azure.com/vcpkg/public/_settings/agentqueues and create a new self hosted Agent pool named `PrOsx-YYYY-MM-DD` based on the current date. Grant microsoft.vcpkg.ci and microsoft.vcpkg.pr access.
98-
- [ ] Remove the macOS installer from Applications
99-
- [ ] Follow the "Deploying images" steps below for each machine in the fleet.
100-
10117
### Instructions (ARM64)
10218

10319
- [ ] Go to https://dev.azure.com/vcpkg/public/_settings/agentqueues , pick the current osx queue,
@@ -107,18 +23,18 @@ This is the checklist for what the vcpkg team does when updating the macOS machi
10723
- [ ] (Once only) install `macosvm` to `~` (this tarball is also backed up in our `vcpkg-image-minting` storage account). For example from a dev workstation:
10824
```sh
10925
ssh vcpkg@HOSTMACHINE
110-
curl -L -o macosvm-0.2-1-arm64-darwin21.tar.gz https://github.com/s-u/macosvm/releases/download/0.2-1/macosvm-0.2-1-arm64-darwin21.tar.gz
111-
tar xvf macosvm-0.2-1-arm64-darwin21.tar.gz
112-
rm macosvm-0.2-1-arm64-darwin21.tar.gz
26+
curl -L -o macosvm-0.2-2-arm64-darwin21.tar.gz https://github.com/s-u/macosvm/releases/download/0.2-2/macosvm-0.2-2-arm64-darwin21.tar.gz
27+
tar xvf macosvm-0.2-2-arm64-darwin21.tar.gz
28+
rm macosvm-0.2-2-arm64-darwin21.tar.gz
11329
exit
11430
```
115-
- [ ] Download the matching `.ipsw` for the macOS copy to install. See https://mrmacintosh.com/apple-silicon-m1-full-macos-restore-ipsw-firmware-files-database/ ; links there to find the .ipsw. Example: https://updates.cdn-apple.com/2025SummerFCS/fullrestores/093-10809/CFD6DD38-DAF0-40DA-854F-31AAD1294C6F/UniversalMac_15.6.1_24G90_Restore.ipsw
116-
- [ ] Determine the VM name using the form "vcpkg-osx-<date>-arm64", for example "vcpkg-osx-2025-09-11-arm64".
117-
- [ ] Open a terminal and run the following commands to create the VM with vcpkg-osx-2025-09-11-arm64 and UniversalMac_15.6.1_24G90_Restore.ipsw replaced as appropriate. This must be run in the KVM as it uses a GUI:
31+
- [ ] Download the matching `.ipsw` for the macOS copy to install. See https://mrmacintosh.com/apple-silicon-m1-full-macos-restore-ipsw-firmware-files-database/ ; links there to find the .ipsw. Example: https://updates.cdn-apple.com/2025FallFCS/fullrestores/089-04148/791B6F00-A30B-4EB0-B2E3-257167F7715B/UniversalMac_26.1_25B78_Restore.ipsw
32+
- [ ] Determine the VM name using the form "vcpkg-osx-<date>-arm64", for example "vcpkg-osx-2025-11-11-arm64".
33+
- [ ] Open a terminal and run the following commands to create the VM with vcpkg-osx-2025-11-11-arm64 and UniversalMac_26.1_25B78_Restore.ipsw replaced as appropriate. This must be run in the KVM as it uses a GUI:
11834
```sh
119-
mkdir -p ~/Parallels/vcpkg-osx-2025-09-11-arm64
120-
cd ~/Parallels/vcpkg-osx-2025-09-11-arm64
121-
~/macosvm --disk disk.img,size=500g --aux aux.img -c 8 -r 12g --restore ~/UniversalMac_15.6.1_24G90_Restore.ipsw ./vm.json
35+
mkdir -p ~/Parallels/vcpkg-osx-2025-11-11-arm64
36+
cd ~/Parallels/vcpkg-osx-2025-11-11-arm64
37+
~/macosvm --disk disk.img,size=500g --aux aux.img -c 8 -r 12g --restore ~/UniversalMac_26.1_25B78_Restore.ipsw ./vm.json
12238
~/macosvm -g ./vm.json
12339
```
12440
- [ ] Follow prompts as you would on real hardware.
@@ -150,7 +66,7 @@ This is the checklist for what the vcpkg team does when updating the macOS machi
15066
exit
15167
```
15268
- [ ] Open Xcode from Applications in the guest GUI. Uncheck the "code completion model" and accept the EULA.
153-
- [ ] Update the Azure Agent URI in setup-box.sh to the current version. You can find this by going to the agent pool, selecting "New agent", picking macOS, and copying the link. For example https://download.agent.dev.azure.com/agent/4.261.0/vsts-agent-osx-arm64-4.261.0.tar.gz
69+
- [ ] Update the Azure Agent URI in setup-box.sh to the current version. You can find this by going to the agent pool, selecting "New agent", picking macOS, and copying the link. For example https://download.agent.dev.azure.com/agent/4.264.2/vsts-agent-osx-arm64-4.264.2.tar.gz
15470
- [ ] Copy setup-box.sh and the xcode installer renamed to 'clt.dmg' to the host. For example from a dev workstation:
15571
```sh
15672
scp ./setup-guest.sh vcpkg@HOSTMACHINE:/Users/vcpkg
@@ -180,57 +96,7 @@ This is the checklist for what the vcpkg team does when updating the macOS machi
18096

18197
## Deploying images
18298

183-
### Running the VM (AMD64)
184-
185-
Run these steps on each machine to add to the fleet. Skip steps that were done implicitly above if this machine was used to build a box.
186-
187-
- [ ] If this machine was used before, delete it from the pool of which it is a member from https://dev.azure.com/vcpkg/public/_settings/agentqueues
188-
- [ ] Log in to the machine using the KVM.
189-
- [ ] Check for software updates in macOS system settings
190-
- [ ] Check for software updates in Parallels' UI
191-
- [ ] Mint a SAS token URI to the box to use from the Azure portal if you don't already have one, and download the VM. (Recommend running this via SSH from domain joined machine due to containing SAS tokens). From a developer machine:
192-
```sh
193-
ssh vcpkg@HOSTMACHINE
194-
brew install azcopy
195-
cd ~/Parallels
196-
azcopy copy "https://vcpkgimageminting.blob.core.windows.net/pvms/vcpkg-osx-<DATE>.pvmp?<SAS>" .
197-
azcopy copy "https://vcpkgimageminting.blob.core.windows.net/pvms/vcpkg-osx-<DATE>.sha256.txt?<SAS>" .
198-
exit
199-
```
200-
- [ ] Open the .pvmp in Parallels, and unpack it.
201-
- [ ] Open the 'Configure' screen for the VM, and under Options -> Startup and Shutdown, set the following:
202-
* Custom
203-
* Start Automatically: When Mac Starts
204-
* Startup View: Headless
205-
* On VM Shutdown: Close Window (this one should already be set)
206-
* On Mac Shutdown: Shut Down
207-
* On Window Close: Keep Running in the Background
208-
- [ ] Under 'More Options':
209-
* Time: Do not sync
210-
* Uncheck 'Update Parallels Tools automatically'
211-
- [ ] Close and restart Parallels Desktop. The VM should start automatically. If it does not, start it.
212-
- [ ] [grab a PAT][] if you don't already have one
213-
- [ ] Copy the guest deploy script to the host, and run it with a first parameter of your PAT. From a developer machine:
214-
```sh
215-
scp register-guest.sh vcpkg@HOSTMACHINE:/Users/vcpkg/register-guest.sh
216-
ssh vcpkg@HOSTMACHINE
217-
rm .ssh/known_hosts
218-
chmod +x register-guest.sh
219-
./register-guest.sh PAT GOES HERE
220-
rm register-guest.sh
221-
```
222-
- [ ] In the VM, open a terminal on the host and run:
223-
```
224-
ssh -i ~/Parallels/*/id_guest vcpkg@`prlctl list --full | sed -nr 's/^.*running *([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*/\1/p'`
225-
~/myagent/run.sh
226-
```
227-
- [ ] Check that the machine shows up in the pool.
228-
- [ ] Lock the screen on the host.
229-
- [ ] Update the "vcpkg Macs" spreadsheet line for the machine with the new pool.
230-
231-
[grab a PAT]: #getting-an-azure-pipelines-pat
232-
233-
### Running the VM (ARM64)
99+
### Running the VM
234100

235101
Run these steps on each machine to add to the fleet. Skip steps that were done implicitly above if this machine was used to build a box.
236102

@@ -240,9 +106,9 @@ Run these steps on each machine to add to the fleet. Skip steps that were done i
240106
- [ ] (Once only) install `macosvm` to `~` (this tarball is also backed up in our `vcpkg-image-minting` storage account). From a developer machine:
241107
```sh
242108
ssh vcpkg@HOSTMACHINE
243-
curl -L -o macosvm-0.2-1-arm64-darwin21.tar.gz https://github.com/s-u/macosvm/releases/download/0.2-1/macosvm-0.2-1-arm64-darwin21.tar.gz
244-
tar xvf macosvm-0.2-1-arm64-darwin21.tar.gz
245-
rm macosvm-0.2-1-arm64-darwin21.tar.gz
109+
curl -L -o macosvm-0.2-2-arm64-darwin21.tar.gz https://github.com/s-u/macosvm/releases/download/0.2-2/macosvm-0.2-2-arm64-darwin21.tar.gz
110+
tar xvf macosvm-0.2-2-arm64-darwin21.tar.gz
111+
rm macosvm-0.2-2-arm64-darwin21.tar.gz
246112
exit
247113
```
248114
- [ ] Skip if this is the image building machine. Mint a SAS token URI to the box to use from the Azure portal if you don't already have one, and download the VM. (Recommend running this via SSH from domain joined machine due to containing SAS tokens). From a developer machine:
@@ -267,7 +133,7 @@ Run these steps on each machine to add to the fleet. Skip steps that were done i
267133
ssh vcpkg@HOSTMACHINE
268134
rm .ssh/known_hosts
269135
chmod +x register-guest.sh
270-
./register-guest.sh PAT GOES HERE
136+
./register-guest.sh PAT-GOES-HERE AGENT-NUMBER-GOES-HERE
271137
rm register-guest.sh
272138
```
273139
- [ ] That will cleanly shut down the VM. In the KVM's terminal, relaunch the VM in ephemeral mode with:

scripts/azure-pipelines/osx/register-guest.sh

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,16 @@ if [ -z "$1" ]; then
33
echo "PAT missing"
44
exit 1
55
fi
6-
export AGENT=$(hostname | sed -nr 's/([^.]+).*/\1/p' | tr '[:lower:]' '[:upper:]')
6+
if [ -z "$2" ]; then
7+
echo "Agent number missing"
8+
exit 1
9+
fi
10+
export AGENT=CPPMAC-ARM64-$2
711
echo "THIS IS AGENT: $AGENT"
8-
if [ `uname -m` = 'arm64' ]; then
912
export POOL=`echo ~/Parallels/*/ | sed -nr 's/\/Users\/vcpkg\/Parallels\/vcpkg-osx-([0-9]{4}-[0-9]{2}-[0-9]{2})-arm64\/$/PrOsx-\1-arm64/p'`
1013
# on arm64, DNS works
1114
12-
else
13-
export POOL=`echo ~/Parallels/*.pvm | sed -nr 's/\/Users\/vcpkg\/Parallels\/vcpkg-osx-([0-9]{4}-[0-9]{2}-[0-9]{2})\.pvm/PrOsx-\1/p'`
14-
# on amd64, DNS does not work, but luckily for us prlctl does know the IP
15-
export GUEST_IP=`prlctl list --full | sed -nr 's/^.*running *([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*/\1/p'`
16-
export SSH_COOKIE=vcpkg@$GUEST_IP
17-
fi
1815
echo "POOL: $POOL"
1916
echo "SSH_COOKIE: $SSH_COOKIE"
2017
ssh $SSH_COOKIE -o "StrictHostKeyChecking=no" -i ~/Parallels/*/id_guest "~/myagent/config.sh --unattended --url https://dev.azure.com/vcpkg --work ~/Data/work --auth pat --token $1 --pool $POOL --agent $AGENT --replace --acceptTeeEula"
21-
if [ `uname -m` = 'arm64' ]; then
22-
ssh $SSH_COOKIE -o "StrictHostKeyChecking=no" -i ~/Parallels/*/id_guest "sudo shutdown -h now"
23-
fi
18+
ssh $SSH_COOKIE -o "StrictHostKeyChecking=no" -i ~/Parallels/*/id_guest "sudo shutdown -h now"

scripts/azure-pipelines/osx/setup-box.sh

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,11 @@ hdiutil detach /Volumes/setup-installer
66
rm clt.dmg
77
sudo xcode-select -s /Applications/Xcode.app
88
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
9-
if [ `uname -m` = 'arm64' ]; then
10-
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/vcpkg/.zprofile
11-
eval "$(/opt/homebrew/bin/brew shellenv)"
12-
else
13-
(echo; echo 'eval "$(/usr/local/bin/brew shellenv)"') >> /Users/vcpkg/.zprofile
14-
eval "$(/usr/local/bin/brew shellenv)"
15-
fi
9+
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/vcpkg/.zprofile
10+
eval "$(/opt/homebrew/bin/brew shellenv)"
1611
brew install autoconf-archive autoconf automake azcopy azure-cli bison cmake gettext gfortran gnu-sed gperf gtk-doc libtool meson mono nasm ninja pkg-config powershell python-setuptools texinfo yasm
1712
mkdir ~/Data
18-
if [ `uname -m` = 'arm64' ]; then
19-
curl -s -o ~/Downloads/azure-agent.tar.gz https://download.agent.dev.azure.com/agent/4.261.0/vsts-agent-osx-arm64-4.261.0.tar.gz
20-
else
21-
curl -s -o ~/Downloads/azure-agent.tar.gz https://download.agent.dev.azure.com/agent/4.261.0/vsts-agent-osx-x64-4.261.0.tar.gz
22-
fi
13+
curl -s -o ~/Downloads/azure-agent.tar.gz https://download.agent.dev.azure.com/agent/4.264.2/vsts-agent-osx-arm64-4.264.2.tar.gz
2314
mkdir ~/myagent
2415
tar xf ~/Downloads/azure-agent.tar.gz -C ~/myagent
2516
rm ~/Downloads/azure-agent.tar.gz

scripts/azure-pipelines/osx/setup-guest.sh

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,11 @@ export VM_DIRECTORY=`ls ~/Parallels | grep vcpkg-osx`
33
export SSH_KEY="$HOME/Parallels/$VM_DIRECTORY/id_guest"
44
export SSH_PUBLIC_KEY="$SSH_KEY.pub"
55
ssh-keygen -P '' -f "$SSH_KEY"
6-
if [ `uname -m` = 'arm64' ]; then
7-
# on arm64, prlctl does not know the IP address, but luckily for us DNS works
8-
9-
else
10-
# on amd64, DNS does not work, but luckily for us prlctl does know the IP
11-
export GUEST_IP=`prlctl list --full | sed -nr 's/^.*running *([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*/\1/p'`
12-
export SSH_COOKIE=vcpkg@$GUEST_IP
13-
fi
146
echo Type 'vcpkg' and press enter
15-
ssh-copy-id -i "$SSH_PUBLIC_KEY" $SSH_COOKIE
7+
ssh-copy-id -i "$SSH_PUBLIC_KEY" [email protected]
168
echo Keys deployed
17-
ssh $SSH_COOKIE -i "$SSH_KEY" echo hello from \`hostname\`
18-
scp -i "$SSH_KEY" ./clt.dmg $SSH_COOKIE:/Users/vcpkg/clt.dmg
19-
scp -i "$SSH_KEY" ./setup-box.sh $SSH_COOKIE:/Users/vcpkg/setup-box.sh
20-
ssh $SSH_COOKIE -i "$SSH_KEY" chmod +x /Users/vcpkg/setup-box.sh
21-
ssh $SSH_COOKIE -i "$SSH_KEY" /Users/vcpkg/setup-box.sh
9+
ssh [email protected] -i "$SSH_KEY" echo hello from \`hostname\`
10+
scp -i "$SSH_KEY" ./clt.dmg [email protected]:/Users/vcpkg/clt.dmg
11+
scp -i "$SSH_KEY" ./setup-box.sh [email protected]:/Users/vcpkg/setup-box.sh
12+
ssh [email protected] -i "$SSH_KEY" chmod +x /Users/vcpkg/setup-box.sh
13+
ssh [email protected] -i "$SSH_KEY" /Users/vcpkg/setup-box.sh

0 commit comments

Comments
 (0)