Split off rbinding operations
This commit is contained in:
15
pre-inst.sh
15
pre-inst.sh
@@ -129,20 +129,7 @@ elif [[ "${ID}" == 'debian' ]]; then
|
|||||||
"${baseDir}/debian.sh" --sources
|
"${baseDir}/debian.sh" --sources
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mount \
|
"${baseDir}/rbind.sh"
|
||||||
--rbind \
|
|
||||||
/dev \
|
|
||||||
/mnt/dev
|
|
||||||
|
|
||||||
mount \
|
|
||||||
--rbind \
|
|
||||||
/proc \
|
|
||||||
/mnt/proc
|
|
||||||
|
|
||||||
mount \
|
|
||||||
--rbind \
|
|
||||||
/sys \
|
|
||||||
/mnt/sys
|
|
||||||
|
|
||||||
"${baseDir}/host-id.sh"
|
"${baseDir}/host-id.sh"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user