summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-10-14 17:46:26 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-10-14 17:53:34 (EDT)
commit75bd3b864db4b1e2e86c219896be03b31430ff72 (patch)
treeea86819533ba0f639d1e30bd0df18059f67014f0
parent8fc9a9dbdcefb6770046e9c70a155fc8d584c256 (diff)
downloadpc-inst-75bd3b864db4b1e2e86c219896be03b31430ff72.zip
pc-inst-75bd3b864db4b1e2e86c219896be03b31430ff72.tar.gz
pc-inst-75bd3b864db4b1e2e86c219896be03b31430ff72.tar.bz2
print1: Remove /media/5tb
-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.