| ... | ... |
@@ -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 |