Set proper filename for extlinux.conf
This commit is contained in:
parent
d73b0c381f
commit
705ac8104a
3
vm.sh
3
vm.sh
@ -87,7 +87,8 @@ chroot /mnt setup-timezone -z Europe/Prague
|
|||||||
# Install basic system
|
# Install basic system
|
||||||
apk --no-cache add apache2-utils gettext
|
apk --no-cache add apache2-utils gettext
|
||||||
wget https://repo.spotter.cz/vm.tar.gz -O - | tar xzf - -C /mnt
|
wget https://repo.spotter.cz/vm.tar.gz -O - | tar xzf - -C /mnt
|
||||||
envsubst </mnt/boot/extlinux.conf.old >/mnt/boot/extlinux.conf
|
envsubst </mnt/boot/extlinux.conf >/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 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
|
chroot /mnt newaliases
|
||||||
for SERVICE in cgroups consolefont crond iptables networking nginx ntpd postfix spoc swap urandom vmmgr; do
|
for SERVICE in cgroups consolefont crond iptables networking nginx ntpd postfix spoc swap urandom vmmgr; do
|
||||||
|
Loading…
Reference in New Issue
Block a user