docker-min: delete systemctl mask calls

No systemd so no need to mask.
This commit is contained in:
Dusty Mabe 2017-01-19 22:10:12 -05:00
parent 46c10b3c76
commit 1efe347bcb
No known key found for this signature in database
GPG Key ID: 3302DBD73952E671

View File

@ -56,9 +56,6 @@ echo "# fstab intentionally empty for containers" > /etc/fstab
rm -rf /var/cache/dnf/* rm -rf /var/cache/dnf/*
rm -rf /tmp/* rm -rf /tmp/*
#Mask mount units and getty service so that we don't get login prompt
systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service
# https://bugzilla.redhat.com/show_bug.cgi?id=1343138 # https://bugzilla.redhat.com/show_bug.cgi?id=1343138
# Fix /run/lock breakage since it's not tmpfs in docker # Fix /run/lock breakage since it's not tmpfs in docker
# This unmounts /run (tmpfs) and then recreates the files # This unmounts /run (tmpfs) and then recreates the files