Skip to content

Commit c6d48f8

Browse files
committed
Add eodc data mount to node vm
1 parent 54abc4e commit c6d48f8

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

infrastructure/cloudinit.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
apt_update: true
22
apt_upgrade: true
33
packages:
4-
- vim
4+
- nfs-common
55
runcmd:
6-
- date > /date.txt
6+
- mount -a # retry mount after edit of hosts
77
mounts:
8-
- ["/dev/vdc", "/data", "auto", "defaults"]
8+
- ["/dev/vdc", "/data", "auto", "defaults"]
9+
- ["eo-storage01.eodc:/", "/eodc", "nfs4", "rw", "0", "0"]
10+
write_files:
11+
- path: /etc/hosts
12+
content: 10.250.23.242 eo-storage01.eodc
13+
append: true

0 commit comments

Comments
 (0)