Browse code

don't need to reboot with proper console

Jesse Andrews authored on 2011/11/01 01:18:37
Showing 1 changed files
... ...
@@ -329,12 +329,6 @@ chmod 755 $RUN_SH
329 329
 RC_LOCAL=$ROOTFS/etc/init.d/zlocal
330 330
 cat > $RC_LOCAL <<EOF
331 331
 #!/bin/sh -e
332
-# Reboot if this is our first run to enable console log on $DIST_NAME :(
333
-if [ ! -e /root/firstlaunch ]; then
334
-    touch /root/firstlaunch
335
-    reboot -f
336
-    exit 0
337
-fi
338 332
 # cloud-init overwrites the hostname with ubuntuhost
339 333
 echo $GUEST_NAME > /etc/hostname
340 334
 hostname $GUEST_NAME