summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xezjail-admin5
1 files changed, 4 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index f43c9f6..4d59de3 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -644,9 +644,12 @@ config)
644 # Device to mount is not md anymore 644 # Device to mount is not md anymore
645 ezjail_device=${ezjail_imagedevice}.eli 645 ezjail_device=${ezjail_imagedevice}.eli
646 ;; 646 ;;
647 simple)
648 ezjail_device=${ezjail_imagedevice}
649 ;;
647 esac 650 esac
648 651
649 mount /dev/${ezjail_device} ${ezjail_rootdir} || detach_images keep || exerr "Error: Could not mount /dev/${ezjail_device} to ${ezjail_root}." 652 mount /dev/${ezjail_device} ${ezjail_rootdir} || detach_images keep || exerr "Error: Could not mount /dev/${ezjail_device} to ${ezjail_rootdir}."
650 # relink image device 653 # relink image device
651 ln -s /dev/${ezjail_device} ${ezjail_rootdir}.device 654 ln -s /dev/${ezjail_device} ${ezjail_rootdir}.device
652 655