From 705ac8104a72b62911bfdaed32167f24a6240f98 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Fri, 13 Mar 2020 16:36:11 +0100 Subject: [PATCH] Set proper filename for extlinux.conf --- vm.sh | 3 ++- vm/boot/{extlinux.conf.old => extlinux.conf} | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename vm/boot/{extlinux.conf.old => extlinux.conf} (100%) diff --git a/vm.sh b/vm.sh index 8ff1a42..4fb8e52 100755 --- a/vm.sh +++ b/vm.sh @@ -87,7 +87,8 @@ chroot /mnt setup-timezone -z Europe/Prague # Install basic system apk --no-cache add apache2-utils gettext wget https://repo.spotter.cz/vm.tar.gz -O - | tar xzf - -C /mnt -envsubst /mnt/boot/extlinux.conf +envsubst /mnt/boot/extlinux.conf.new +mv /mnt/boot/extlinux.conf.new /mnt/boot/extlinux.conf chroot /mnt apk --no-cache add bridge ca-certificates curl e2fsprogs-extra gettext iptables kbd-misc logrotate postfix nginx openssh-server openssh-sftp-server util-linux wireguard-virt wireguard-tools-wg spoc@vm vmmgr@vm chroot /mnt newaliases for SERVICE in cgroups consolefont crond iptables networking nginx ntpd postfix spoc swap urandom vmmgr; do diff --git a/vm/boot/extlinux.conf.old b/vm/boot/extlinux.conf similarity index 100% rename from vm/boot/extlinux.conf.old rename to vm/boot/extlinux.conf