[archiso_pxe_nbd] Remove unneeded umount commands
This step is now done at archiso hook (commit 1fc3a61b75
)
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
parent
120dda2494
commit
7725dba216
@ -80,8 +80,6 @@ archiso_pxe_nbd_mount_handler () {
|
||||
archiso_mount_handler ${newroot}
|
||||
|
||||
if [ "${copytoram}" = "y" ]; then
|
||||
umount ${newroot}/bootmnt
|
||||
umount /bootmnt
|
||||
msg "::: Disconnect NBD from ${nbdserver}:9040 at /dev/nbd0"
|
||||
nbd-client -d /dev/nbd0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user