X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=appliance%2Finit;h=cda64531512bdf05c8dd6c87240781298888893f;hb=3a99114360636806078bbf614c241e89661bcc7f;hp=90da1cb5c425e31fdde362be152422287eaa8266;hpb=c0b38fbb27c8771916386f47361833722d54518f;p=libguestfs.git diff --git a/appliance/init b/appliance/init index 90da1cb..cda6453 100755 --- a/appliance/init +++ b/appliance/init @@ -71,7 +71,7 @@ for f in /sys/block/[hsv]d*/queue/scheduler; do echo noop > $f; done # These are useful when debugging. if grep -sq guestfs_verbose=1 /proc/cmdline; then - ls -l /dev + ls -lR /dev cat /proc/mounts lvm pvs lvm vgs @@ -110,8 +110,8 @@ else bash -i echo echo "virt-rescue: Syncing the disk now before exiting ..." - echo "(Don't worry if you see a 'Kernel panic' message below)" echo fi sync +/sbin/reboot -f