diff options
author | Simon Rettberg | 2016-10-12 19:15:58 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-10-12 19:15:58 +0200 |
commit | 2ddc6e4ab3ddb0d8e850472af131875956a140e7 (patch) | |
tree | 0d954573b87241d3d711b9e530610664d66a1085 | |
parent | [pam] Include unix_chkpwd binary, required for non-root auth via pam_unix (diff) | |
download | tm-scripts-2ddc6e4ab3ddb0d8e850472af131875956a140e7.tar.gz tm-scripts-2ddc6e4ab3ddb0d8e850472af131875956a140e7.tar.xz tm-scripts-2ddc6e4ab3ddb0d8e850472af131875956a140e7.zip |
[run-virt] Remove defunct/unsused fd-loop-image
-rwxr-xr-x | remote/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/remote/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env b/remote/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env index 506c4fff..cf94b3a2 100755 --- a/remote/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env +++ b/remote/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env @@ -30,21 +30,6 @@ VMCHOOSER_DIR="/opt/openslx/vmchooser" VMCHOOSER_CONF_DIR="$VMCHOOSER_DIR/config" DHCP_NAT_CONF="/opt/openslx/vmchooser/config/udhcpd-nat1.conf" -mkdir -p "${VMCHOOSER_DIR}/data/loopimg" -mkdir -p "${VMCHOOSER_DIR}/fd-loop" -m 1777 - -# mount a clean tempfs (bug in UnionFS prevents loopmount to work) -grep -qE "unionfs |aufs " /proc/mounts && \ - mount -n -o size=1500k -t tmpfs vm-loopimg "${VMCHOOSER_DIR}/data/loopimg" - -# create an empty floppy image of 1.44 MByte size -dd "if=/dev/zero" "of=${VMCHOOSER_DIR}/data/loopimg/fd.img" count=2880 bs=512 2>/dev/null -chmod 0777 "${VMCHOOSER_DIR}/data/loopimg/fd.img" - -# use dos formatter copied into stage3 -mkdosfs "${VMCHOOSER_DIR}/data/loopimg/fd.img" -mount -n -t msdos -o loop,umask=000 "${VMCHOOSER_DIR}/data/loopimg/fd.img" "${VMCHOOSER_DIR}/fd-loop" - # setup more scratch space for virtual machines, if configured mkdir -p /tmp/virt /var/log/samba /run/samba |