Skip to content

Commit

Permalink
Merge pull request #2223 from craddm/ephemeral-mount-path
Browse files Browse the repository at this point in the history
Modify workspace VM cloud-init to facilitate disk mounting and LDAP login
  • Loading branch information
JimMadge authored Oct 7, 2024
2 parents dddf0c9 + 63f57e8 commit d16b254
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ write_files:
popd
mounts:
# Mount ephemeral storage at resource instead of default /mnt
- [ephemeral0, /mnt/scratch]
# Desired state configuration is in a blob container mounted as NFSv3
- ["{{storage_account_desired_state_name}}.blob.core.windows.net:/{{storage_account_desired_state_name}}/desiredstate", /var/local/ansible, nfs, "ro,_netdev,sec=sys,vers=3,nolock,proto=tcp"]
# Secure data is in a blob container mounted as NFSv3
Expand Down Expand Up @@ -69,9 +71,6 @@ package_update: true
package_upgrade: true

runcmd:
# Restart services
- systemctl restart nslcd

# Mount all external volumes
# --------------------------
- echo ">=== Mounting all external volumes... ===<"
Expand All @@ -97,3 +96,6 @@ runcmd:
- while (! test -f /var/local/ansible/vars/pulumi_vars.yaml) do sleep 5; done
- echo ">=== Running initial desired state configuration... ===<"
- systemctl start desired-state

# Restart services
- systemctl restart nslcd

0 comments on commit d16b254

Please sign in to comment.