Small fixes to the ubuntu packer build and remove snap script
This commit is contained in:
parent
de5e7d31fd
commit
1a47889679
@ -21,10 +21,7 @@ source "proxmox-iso" "ubuntu-22" {
|
|||||||
# Go to the end of the boot command
|
# Go to the end of the boot command
|
||||||
"<down><down><down><down><left> <wait>",
|
"<down><down><down><down><left> <wait>",
|
||||||
|
|
||||||
# Add kernel command-line and start install
|
# Add kernel command-line to start autoinstall
|
||||||
"linux ",
|
|
||||||
"/casper/vmlinuz ",
|
|
||||||
"--- ",
|
|
||||||
"autoinstall ",
|
"autoinstall ",
|
||||||
"ds=\"nocloud-net;seedfrom=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu-22/\"",
|
"ds=\"nocloud-net;seedfrom=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu-22/\"",
|
||||||
"<leftCtrlOn>x<leftCtrlOff><wait>"
|
"<leftCtrlOn>x<leftCtrlOff><wait>"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
apt purge -y snapd
|
sudo apt purge -y snapd
|
||||||
|
|
||||||
rm -rf /var/lib/snap
|
sudo rm -rf /var/lib/snap
|
||||||
rm -rf /root/snap
|
sudo rm -rf /root/snap
|
||||||
|
Loading…
Reference in New Issue
Block a user