Small fixes to the ubuntu packer build and remove snap script

This commit is contained in:
Gregory Ballantine 2024-04-21 12:59:29 -04:00
parent de5e7d31fd
commit 1a47889679
2 changed files with 4 additions and 7 deletions

View File

@ -21,10 +21,7 @@ source "proxmox-iso" "ubuntu-22" {
# Go to the end of the boot command
"<down><down><down><down><left> <wait>",
# Add kernel command-line and start install
"linux ",
"/casper/vmlinuz ",
"--- ",
# Add kernel command-line to start autoinstall
"autoinstall ",
"ds=\"nocloud-net;seedfrom=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu-22/\"",
"<leftCtrlOn>x<leftCtrlOff><wait>"

View File

@ -1,6 +1,6 @@
#!/bin/sh
apt purge -y snapd
sudo apt purge -y snapd
rm -rf /var/lib/snap
rm -rf /root/snap
sudo rm -rf /var/lib/snap
sudo rm -rf /root/snap