Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
johnko committed Jan 21, 2025
1 parent 718dfbb commit 20a6636
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/macos-multipass-vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ case $ACTN in
if sudo test -d /var/root/Library/Application\ Support/multipassd.bkp ; then
stop_multipass_svc
mkdir_ramdisk_vm
cp -a /var/root/Library/Application\ Support/multipassd.bkp /Volumes/RAMDisk/vm/multipassd
sudo cp -a /var/root/Library/Application\ Support/multipassd.bkp /Volumes/RAMDisk/vm/multipassd
start_multipass_svc
fi
fi
Expand Down
1 change: 1 addition & 0 deletions lab-squid-ramdisk/cloud-init.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#cloud-config
bootcmd:
- [ cloud-init-per, once, randhostname, /bin/bash, -c, "echo vm-$(openssl rand -hex 2) > /etc/hostname" ]
- [ cloud-init-per, once, sethostname, /bin/bash, -c, "hostname < /etc/hostname" ]
- [ cloud-init-per, once, newttyscript, /bin/bash, -c, "echo 'H4sIAB+qjGcAA2WQTU8CMRCG7/0VL8XgqRSNHsCP6M2bJsoJMFl2u2wTtl06Uz4SfrzdVQkJhzaZ9nlnnky/pyMFvbROG7fFMqNKkGEoE/dC9FExNzTRmkzYmlBmcc3D3Nd6Ew2x9Y707Wh8Px7ryu8Ue5WysVGGc2WJEtO9dX+VUbZRWVEEQ6RKHxJVjYQw+8YHxsfr19uT/JeZXLW1bA0K764ZITpYhzrL3z+FLTGboZckoafJjLBYYDDArvJZbXHEKpgGMnjPEg9Io50ATqkSOgnqYWc49MGu2vyJA/Lml+iACzghpU1XN0RtIOfz+Z08TxyPIFNABUjS39NldBx1S0Hhr5J4vLR4PmuSBtCB2NQ5r5FWxlla0sowH17SuRFJ4Qd44V9QvAEAAA==' | base64 -d | zcat > /sbin/ubuntu-tty-update.sh" ]
- [ cloud-init-per, once, chmodttyscript, /bin/bash, -c, "chmod 755 /sbin/ubuntu-tty-update.sh" ]
- [ cloud-init-per, once, newttysvc, /bin/bash, -c, "echo 'H4sIACWwjGcAA3WOMRKCMBBF+5yCCwROkEJHClvRsWAoAqyyY9hgdqPk9mZkLK3/vPdfeyGUTh2Ah4CLoCcT+0gSC5FUxGW0AuoEz4gB2BDI24eH9uSQoBQb7iBqdxMIfzbVNhBeOECnzmkB4wl48pKVs0X6kvWKYhKwqlcYmsyJqbhHqrYQnUP0FlLylIVHYrHOdepqSWDcJzNHJ6gjQ/jdfgAt+l2E1wAAAA==' | base64 -d | zcat > /etc/systemd/system/ubuntu-tty-update.service" ]
Expand Down

0 comments on commit 20a6636

Please sign in to comment.