Spotter-VM/vm/sbin/vmtty

18 lines
300 B
Plaintext
Raw Normal View History

#!/bin/sh
# Check if virtual disk has been resized and partitions needs extending
if [ -x /sbin/extend-disk ]; then
/sbin/extend-disk
fi
# Rebuild /etc/issue
if [ -x /usr/bin/vmmgr ]; then
/usr/bin/vmmgr rebuild-issue
fi
# Print /etc/issue
/bin/cat /etc/issue
# Wait for key press
read a