pxe - omit gardenlinux module
set -e
-wget -P /tmp http://18.185.215.86/packages/dracut-core_050+65-2_amd64.deb
-wget -P /tmp http://18.185.215.86/packages/{dracut-network_050+65-2,dracut_050+65-2}_all.deb
-wget -P /tmp http://18.185.215.86/packages/ignition-2.7.0.tar.gz
-wget -P /tmp http://18.185.215.86/packages/dracut.tar.gz
+wget -nv -P /tmp http://18.185.215.86/packages/dracut-core_050+65-2_amd64.deb
+wget -nv -P /tmp http://18.185.215.86/packages/{dracut-network_050+65-2,dracut_050+65-2}_all.deb
+wget -nv -P /tmp http://18.185.215.86/packages/ignition-2.7.0.tar.gz
+wget -nv -P /tmp http://18.185.215.86/packages/dracut.tar.gz
apt-get install -y --allow-downgrades -f /tmp/*.deb
@@ -13,8 +13,6 @@ cd /tmp
tar pzxf /tmp/ignition-2.7.0.tar.gz -C /
tar zxf /tmp/dracut.tar.gz
-ls -la /
-
cp -ar /tmp/dracut-050/modules.d/45url-lib /usr/lib/dracut/modules.d/
cp -ar /tmp/dracut-050/modules.d/90qemu /usr/lib/dracut/modules.d/
@@ -37,7 +35,7 @@ echo "" > /etc/dracut.conf.d/11-ifcfg.conf
# rebuild the initramfs
for kernel in /boot/vmlinuz-*; do
- dracut -f /boot/initrd.img-${kernel#*-} ${kernel#*-} -m "bash dash systemd systemd-initrd kernel-modules kernel-modules-extra terminfo udev-rules dracut-systemd fs-lib shutdown systemd-networkd gardenlinux-live ignition"
+ dracut -f /boot/initrd.img-${kernel#*-} ${kernel#*-} -m "bash dash systemd systemd-initrd kernel-modules kernel-modules-extra terminfo udev-rules dracut-systemd fs-lib shutdown systemd-networkd gardenlinux-live ignition" -o "gardenlinux"
done
exit 0
