parent
e46a3a2c13
commit
e2b457d54e
@ -1,18 +0,0 @@
|
|||||||
# Make sure the correct bootloader package is installed for EFI.
|
|
||||||
# Also pull in shim so secureboot has a chance at working.
|
|
||||||
# Because of edge cases, we ignore BIOS, and do the same
|
|
||||||
# procedure for all EFI types.
|
|
||||||
---
|
|
||||||
firmwareType:
|
|
||||||
bios: "-/bin/true"
|
|
||||||
"*":
|
|
||||||
- command: apt-cdrom add -m -d=/media/cdrom/
|
|
||||||
timeout: 10
|
|
||||||
- command: sed -i '/deb http/d' /etc/apt/sources.list
|
|
||||||
timeout: 10
|
|
||||||
- command: apt-get update
|
|
||||||
timeout: 120
|
|
||||||
- command: apt install -y --no-upgrade -o Acquire::gpgv::Options::=--ignore-time-conflict grub-efi-$(if grep -q 64 /sys/firmware/efi/fw_platform_size; then echo amd64-signed; else echo ia32; fi)
|
|
||||||
timeout: 300
|
|
||||||
- command: apt install -y --no-upgrade -o Acquire::gpgv::Options::=--ignore-time-conflict shim-signed
|
|
||||||
timeout: 300
|
|
@ -1,33 +0,0 @@
|
|||||||
---
|
|
||||||
efiBootLoader: "grub"
|
|
||||||
|
|
||||||
# systemd-boot configuration files settings, set kernel and initramfs file names
|
|
||||||
# and amount of time before default selection boots
|
|
||||||
kernel: "/vmlinuz-linux"
|
|
||||||
img: "/initramfs-linux.img"
|
|
||||||
fallback: "/initramfs-linux-fallback.img"
|
|
||||||
timeout: "10"
|
|
||||||
# Optionally set the menu entry name and kernel name to use in systemd-boot.
|
|
||||||
# If not specified here, these settings will be taken from branding.desc.
|
|
||||||
# bootloaderEntryName: "Generic GNU/Linux"
|
|
||||||
# kernelLine: ", with Stable-Kernel"
|
|
||||||
# fallbackKernelLine: ", with Stable-Kernel (fallback initramfs)"
|
|
||||||
|
|
||||||
# GRUB 2 binary names and boot directory
|
|
||||||
# Some distributions (e.g. Fedora) use grub2-* (resp. /boot/grub2/) names.
|
|
||||||
grubInstall: "grub-install"
|
|
||||||
grubMkconfig: "grub-mkconfig"
|
|
||||||
grubCfg: "/boot/grub/grub.cfg"
|
|
||||||
|
|
||||||
# Optionally set the bootloader ID to use for EFI. This is passed to
|
|
||||||
# grub-install --bootloader-id.
|
|
||||||
#
|
|
||||||
# If not set here, the value from bootloaderEntryName from branding.desc
|
|
||||||
# is used, with problematic characters (space and slash) replaced.
|
|
||||||
#
|
|
||||||
# The ID is also used as a directory name within the EFI environment,
|
|
||||||
# and the bootloader is copied from /boot/efi/EFI/<dirname>/ . When
|
|
||||||
# setting the option here, take care to use only valid directory
|
|
||||||
# names since no sanitizing is done.
|
|
||||||
#
|
|
||||||
efiBootloaderId: "ubuntu"
|
|
@ -1,3 +0,0 @@
|
|||||||
---
|
|
||||||
restartNowMode: user-checked
|
|
||||||
restartNowCommand: "systemctl -i reboot"
|
|
@ -1,3 +0,0 @@
|
|||||||
overwrite: false
|
|
||||||
defaults:
|
|
||||||
GRUB_ENABLE_CRYPTODISK: true
|
|
@ -1,8 +0,0 @@
|
|||||||
---
|
|
||||||
region: "America"
|
|
||||||
zone: "New_York"
|
|
||||||
localeGenPath: "/etc/locale.gen"
|
|
||||||
geoip:
|
|
||||||
style: "xml"
|
|
||||||
url: "https://geoip.ubuntu.com/lookup"
|
|
||||||
selector: "TimeZone"
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
dontChroot: false
|
|
||||||
timeout: 30
|
|
||||||
script:
|
|
||||||
- command: "/usr/bin/dpkg --add-architecture i386"
|
|
Loading…
Reference in new issue