-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Mustafa Kara <[email protected]>
- Loading branch information
1 parent
296cab8
commit 887e9f9
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |