Skip to content

Commit

Permalink
Migrate to sshfs from cifs
Browse files Browse the repository at this point in the history
Signed-off-by: Mustafa Kara <[email protected]>
  • Loading branch information
mustafaahmetkara committed Mar 3, 2024
1 parent 296cab8 commit 887e9f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .mk/state_mount.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: state/umount
state/umount:
@sudo umount ./state
@rm -rf ./state
.PHONY: state/mount
state/mount:
@mkdir -p state
@sshfs [email protected]:/terraform ./state -o ssh_command="sshpass -p $(shell pass storagebox) ssh"
8 changes: 4 additions & 4 deletions .mk/state_umount.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: state/mount
state/mount:
@mkdir -p state
@sudo mount -t cifs //u393136.your-storagebox.de/backup/terraform ./state -o user=u393136,password=$(shell pass storagebox),noperm
.PHONY: state/umount
state/umount:
@umount ./state
@rm -rf ./state

0 comments on commit 887e9f9

Please sign in to comment.