-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
78 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
set timeout=5 | ||
|
||
loadfont unicode | ||
|
||
set menu_color_normal=red/black | ||
set menu_color_highlight=black/light-gray | ||
|
||
menuentry "AutoInstall Ubuntu Server" { | ||
set gfxpayload=keep | ||
linux /casper/vmlinuz quiet autoinstall --- | ||
initrd /casper/initrd | ||
} | ||
menuentry "Ubuntu Server with the HWE kernel" { | ||
set gfxpayload=keep | ||
linux /casper/hwe-vmlinuz quiet --- | ||
initrd /casper/hwe-initrd | ||
} | ||
menuentry 'Boot from next volume' { | ||
exit 1 | ||
} | ||
menuentry 'UEFI Firmware Settings' { | ||
fwsetup | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
set -eux | ||
|
||
ssh vm sudo apt update | ||
ssh vm sudo apt install -y git python3 python3-pip xorriso | ||
ssh vm sudo rm -fr livefs-editor | ||
ssh vm git clone https://github.com/mwhudson/livefs-editor | ||
ssh vm sudo python3 -m pip install ./livefs-editor/ | ||
rsync -virchlmP $(dirname $0)/grub.cfg vm:/tmp/grub.cfg | ||
rsync -virchlmP ${HOME}/iso/arm/ubuntu-22.04.5-live-server-arm64.iso vm:./ubuntu-22.04.5-live-server-arm64.iso | ||
ssh vm sudo python3 -m livefs_edit ubuntu-22.04.5-live-server-arm64.iso autoinstall-22.04.5-live-server-arm64.iso --cp /tmp/grub.cfg new/iso/boot/grub/grub.cfg | ||
rsync -virchlmP vm:./autoinstall-22.04.5-live-server-arm64.iso ${HOME}/iso/arm/autoinstall-22.04.5-live-server-arm64.iso |