summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hosts/print1/conf1
-rw-r--r--hosts/print1/postinst4
2 files changed, 0 insertions, 5 deletions
diff --git a/hosts/print1/conf b/hosts/print1/conf
index 0c2d6b1..b219024 100644
--- a/hosts/print1/conf
+++ b/hosts/print1/conf
@@ -8,7 +8,6 @@ part_script='
# fs mp type options dump pass
fstab='
@DEV1@ / ext4 errors=remount-ro 0 1
- UUID=97ace982-0d37-4d52-8f0b-a8ec30de0b03 /media/5tb ext4 defaults 0 2
'
mirror='http://deb.debian.org/debian'
diff --git a/hosts/print1/postinst b/hosts/print1/postinst
index deb9438..f9fafd8 100644
--- a/hosts/print1/postinst
+++ b/hosts/print1/postinst
@@ -28,13 +28,9 @@ cat 1>"${target}/etc/network/interfaces" 0<<-EOF
iface enp1s0 inet dhcp
EOF
-# Create mount point.
-mkdir "${target}/media/5tb"
-
# Configure NFS.
mv "${target}/etc/exports" "${target}/etc/exports.dist"
cat 1>"${target}/etc/exports" 0<<-EOF
- /media/5tb 192.168.10.0/255.255.255.0(rw,sync,no_subtree_check,no_root_squash,mountpoint)
EOF
# Harden SSH server.