postgresql: Update setup-disks to drop /mnt disabling.

Hosts do not start out with a `/mnt`; there is no need to disable it.
This commit is contained in:
Alex Vandiver
2020-05-29 16:12:20 -07:00
committed by Tim Abbott
parent a7d85b7e69
commit 4e370cda75

View File

@@ -1,5 +1,4 @@
#!/bin/sh #!/bin/sh
umount /mnt
LOCALDISK=/dev/nvme0n1 LOCALDISK=/dev/nvme0n1
@@ -15,7 +14,3 @@ ln -s /srv/postgresql/ /var/lib
# TODO use systemctl instead of pg_ctlcluster on CentOS # TODO use systemctl instead of pg_ctlcluster on CentOS
pg_ctlcluster 9.5 main start pg_ctlcluster 9.5 main start
# Disable /mnt line for /dev/xvdb
umount /mnt
sed -i 's|^/dev/xvdb|#/dev/xvdb|' /etc/fstab