From: dave kormann Date: Wed, 30 Dec 2020 18:26:27 +0000 (-0500) Subject: FIX: add missing mount_opts X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;ds=sidebyside;h=refs%2Fheads%2Fmaster;p=ta%2Fstorage.git FIX: add missing mount_opts mount_opts values are apparently required in the disk layout file. signed-off-by: dave kormann Change-Id: I1ce1ea4fe259bb8c78f4b33237624f0d79d3da8f --- diff --git a/partfs_rootdisk.spec b/partfs_rootdisk.spec index 9698333..960f96d 100644 --- a/partfs_rootdisk.spec +++ b/partfs_rootdisk.spec @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -%define RPM_MINOR_VERSION 2 +%define RPM_MINOR_VERSION 3 Name: partfs_rootdisk Version: %{_version} diff --git a/partfs_rootdisk/localstorage/caas/caas_master.yaml b/partfs_rootdisk/localstorage/caas/caas_master.yaml index 5c862a6..c5e4931 100644 --- a/partfs_rootdisk/localstorage/caas/caas_master.yaml +++ b/partfs_rootdisk/localstorage/caas/caas_master.yaml @@ -29,6 +29,8 @@ logical_volumes: - lvm_name: "home" lvm_size: "2%VG" mount_point: "/home" + mount_opts: noatime,nodev,nosuid - lvm_name: "tmp" lvm_size: "4%VG" mount_point: "/tmp" + mount_opts: defaults diff --git a/partfs_rootdisk/localstorage/multinode_hybrid/multiple_hybrid.yaml b/partfs_rootdisk/localstorage/multinode_hybrid/multiple_hybrid.yaml index 52edc35..0facfb6 100644 --- a/partfs_rootdisk/localstorage/multinode_hybrid/multiple_hybrid.yaml +++ b/partfs_rootdisk/localstorage/multinode_hybrid/multiple_hybrid.yaml @@ -29,6 +29,8 @@ logical_volumes: - lvm_name: "home" lvm_size: "2%VG" mount_point: "/home" + mount_opts: noatime,nodev,nosuid - lvm_name: "tmp" lvm_size: "4%VG" mount_point: "/tmp" + mount_opts: defaults