fix race condition

This commit is contained in:
t3chn0m4g3 2019-02-16 13:49:04 +01:00
parent 7b3d157cdc
commit ab4b21acb4

View file

@ -129,8 +129,10 @@ d-i debian-installer/splash boolean false
d-i preseed/late_command string \
in-target apt-get -y install grub-pc; \
in-target grub-install --force $(debconf-get partman-auto/disk); \
update-dev; \
in-target update-grub; \
in-target git clone --depth=1 https://github.com/dtag-dev-sec/tpotce -b debian /opt/tpot; \
in-target sed -i 's/allow-hotplug/auto/g' /etc/network/interfaces; \
#in-target apt-get -y remove exim4-base; \
#in-target apt-get -y autoremove; \
cp /target/opt/tpot/iso/installer/rc.local.install /target/etc/rc.local; \