Skip to content

Commit

Permalink
Qick fix for mounting FileStore through k8s-cloud-init;
Browse files Browse the repository at this point in the history
  • Loading branch information
elijah-k-nebius committed Dec 8, 2024
1 parent 8d20522 commit f9e5d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/cloud-init/k8s-cloud-init.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ runcmd:
%{ if enable_filestore != "false" }
- sudo mkdir -p /mnt/data
- sudo mount -t virtiofs data /mnt/data
- echo data /mnt/data \"virtiofs\" \"defaults\" \"0\" \"2\" | sudo tee -a /etc/fstab
- echo data /mnt/data virtiofs defaults 0 2 | sudo tee -a /etc/fstab
%{ endif }
%{ if enable_glusterfs != "false" }
- sudo mkdir -p /mnt/glusterfs
Expand Down

0 comments on commit f9e5d79

Please sign in to comment.