aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2016-11-28 15:10:44 +0100
committerGitHub <noreply@github.com>2016-11-28 15:10:44 +0100
commit2033db1d8a588d2efe7989af75ca671e7816dbce (patch)
tree0b7b08240fe4d3aec1b3bf56cec86515abe3eefe /tools
parent23fd96806d2ac9946e38df5eb2a2e7d6c2cd44da (diff)
parent3a5ae29218c1bc75952a1cc1da984c77bee3ba50 (diff)
Merge pull request #96 from a13xp0p0v/vm-startup-fixes
VM startup fixes
Diffstat (limited to 'tools')
-rwxr-xr-xtools/create-image.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/create-image.sh b/tools/create-image.sh
index 7aa4a20de..78120e67d 100755
--- a/tools/create-image.sh
+++ b/tools/create-image.sh
@@ -13,7 +13,7 @@ sudo debootstrap --include=openssh-server wheezy wheezy
# Set some defaults and enable promtless ssh to the machine for root.
sudo sed -i '/^root/ { s/:x:/::/ }' wheezy/etc/passwd
-echo 'V0:23:respawn:/sbin/getty 115200 hvc0' | sudo tee -a wheezy/etc/inittab
+echo 'T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100' | sudo tee -a wheezy/etc/inittab
printf '\nauto eth0\niface eth0 inet dhcp\n' | sudo tee -a wheezy/etc/network/interfaces
echo 'debugfs /sys/kernel/debug debugfs defaults 0 0' | sudo tee -a wheezy/etc/fstab
echo 'debug.exception-trace = 0' | sudo tee -a wheezy/etc/sysctl.conf