mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
appliance: Create /dev/shm (RHBZ#1500537).
This is required by ansible and probably other applications. Thanks: Nicolas Hicher
This commit is contained in:
@@ -74,6 +74,8 @@ fi
|
||||
mount -t devtmpfs /dev /dev
|
||||
mkdir -p /dev/pts
|
||||
mount -t devpts /dev/pts /dev/pts
|
||||
mkdir -p /dev/shm
|
||||
mount -t tmpfs -o mode=1777 shmfs /dev/shm
|
||||
|
||||
if [[ $cmdline == *selinux=1* ]]; then
|
||||
mount -t selinuxfs none /sys/fs/selinux
|
||||
|
||||
Reference in New Issue
Block a user