diff options
author | P. J. McDermott <pj@pehjota.net> | 2020-10-20 11:29:03 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2020-10-20 11:29:03 (EDT) |
commit | e137a98ef96a47c7e520f8b14d9e98e338c98839 (patch) | |
tree | ef03e9887b06deb85d9c5146b95831ba2f24e5d6 /hosts/nas1/postinst | |
parent | 6c0e727de9959f6bd47de066cd22cf112c5fb105 (diff) | |
download | pc-inst-e137a98ef96a47c7e520f8b14d9e98e338c98839.zip pc-inst-e137a98ef96a47c7e520f8b14d9e98e338c98839.tar.gz pc-inst-e137a98ef96a47c7e520f8b14d9e98e338c98839.tar.bz2 |
nas1: Create mount point
Diffstat (limited to 'hosts/nas1/postinst')
-rw-r--r-- | hosts/nas1/postinst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hosts/nas1/postinst b/hosts/nas1/postinst index d2083e0..82888aa 100644 --- a/hosts/nas1/postinst +++ b/hosts/nas1/postinst @@ -24,6 +24,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 |