gns3-registry/packer/alpine-linux/scripts/post_setup.sh
2015-10-05 15:03:19 +02:00

11 lines
246 B
Bash

#Enable a terminal on serial port
echo "ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt1003" >> etc/inittab
apk add linux-virtgrsec
apk del linux-grsec
rm -Rf /lib/firmware
rm -rf /var/cache/apk/*
# Write 0
dd if=/dev/zero of=/zero ; rm -f /zero