Skip to content

Commit

Permalink
DLPX-86523 CIS: /home filesystem and mount options
Browse files Browse the repository at this point in the history
  • Loading branch information
ShibasishDelphix committed Aug 9, 2023
1 parent d81810e commit 347d472
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions live-build/config/hooks/vm-artifacts/90-raw-disk-image.binary
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ rsync --info=stats3 -Wa binary/* "$DIRECTORY/"
# automatically whenever we boot into the crash kernel.
#
cat <<-EOF >"$DIRECTORY/etc/fstab"
rpool/ROOT/$FSNAME/home /home zfs defaults,x-systemd.before=zfs-import-cache.service nodev 0 0
rpool/ROOT/$FSNAME/home /home zfs defaults,x-systemd.before=zfs-import-cache.service, nodev 0 0
rpool/ROOT/$FSNAME/data /var/delphix zfs defaults,x-systemd.before=zfs-import-cache.service 0 0
rpool/ROOT/$FSNAME/log /var/log zfs defaults,x-systemd.before=zfs-import-cache.service 0 0
rpool/crashdump /var/crash zfs defaults,x-systemd.before=zfs-import-cache.service,x-systemd.before=kdump-tools.service 0 0
Expand Down Expand Up @@ -341,4 +341,4 @@ retry 5 10 zfs umount "$FSNAME/ROOT/$FSNAME/root"
retry 5 10 zpool export "$FSNAME"
kpartx -d "$ARTIFACT_NAME.img"

ln -s /export/home /home
ln -s /home /export/home
2 changes: 1 addition & 1 deletion scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function resolve_s3_uri() {
# mirror is used.
#
UPSTREAM_BRANCH=$(get_upstream_or_fail_if_unset) || exit 1
echo "Running with UPSTREAM_BRANCH set to ${UPSTREAM_BRANCH}"
#echo "Running with UPSTREAM_BRANCH set to ${UPSTREAM_BRANCH}"
local latest_subprefix="linux-pkg/${UPSTREAM_BRANCH}/combine-packages/post-push/latest"
local bucket="snapshot-de-images"
local jenkinsid="jenkins-ops"
Expand Down

0 comments on commit 347d472

Please sign in to comment.