simple image jails did not have their device provided correctly. Fixed.
This commit is contained in:
parent
5c2ac7cf28
commit
e71bebd003
@ -644,9 +644,12 @@ config)
|
|||||||
# Device to mount is not md anymore
|
# Device to mount is not md anymore
|
||||||
ezjail_device=${ezjail_imagedevice}.eli
|
ezjail_device=${ezjail_imagedevice}.eli
|
||||||
;;
|
;;
|
||||||
|
simple)
|
||||||
|
ezjail_device=${ezjail_imagedevice}
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
mount /dev/${ezjail_device} ${ezjail_rootdir} || detach_images keep || exerr "Error: Could not mount /dev/${ezjail_device} to ${ezjail_root}."
|
mount /dev/${ezjail_device} ${ezjail_rootdir} || detach_images keep || exerr "Error: Could not mount /dev/${ezjail_device} to ${ezjail_rootdir}."
|
||||||
# relink image device
|
# relink image device
|
||||||
ln -s /dev/${ezjail_device} ${ezjail_rootdir}.device
|
ln -s /dev/${ezjail_device} ${ezjail_rootdir}.device
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user