Add initial aws-remote
authorFrank Duncan <frank@kank.net>
Thu, 17 Dec 2020 12:00:03 +0000 (06:00 -0600)
committerFrank Duncan <frank@kank.net>
Thu, 17 Dec 2020 12:00:03 +0000 (06:00 -0600)
.aws-remote [new file with mode: 0644]

diff --git a/.aws-remote b/.aws-remote
new file mode 100644 (file)
index 0000000..064328f
--- /dev/null
@@ -0,0 +1,37 @@
+((:name . "silent")
+ (:template . "Basic-Dev")
+ (:username . "herbie")
+ (:key . "/home/herbie/.ssh/id_rsa")
+ (:install
+  (:herbie
+   :first t
+   :username "ubuntu"
+   :key "/home/herbie/.ssh/frank-remote-work.pem"
+   (:packages "zsh")
+   (:file-transfer
+    "/home/herbie/worknotes/remote-work-files/personal-remote-config/herbie/authorized-keys"
+    "~/herbie-authorized_keys")
+   (:file-transfer
+    "/home/herbie/worknotes/remote-work-files/personal-remote-config//sudo/91-herbie-user"
+    "~")
+   (:sudo-cmd "chown root:root ~/91-herbie-user")
+   (:sudo-cmd "mv ~/91-herbie-user /etc/sudoers.d/")
+   (:sudo-cmd "useradd -m herbie -s /usr/bin/zsh")
+   (:sudo-cmd "-u herbie mkdir /home/herbie/.ssh")
+   (:sudo-cmd "mv herbie-authorized_keys ~herbie/.ssh/authorized_keys")
+   (:sudo-cmd "chown herbie:herbie ~herbie/.ssh/authorized_keys"))
+
+  (:hostname (:hostname "silent"))
+
+  (:herbie-files
+   (:file-transfer "~/personal/dotfiles/.zshrc" ".zshrc")
+   (:file-transfer "~/personal/dotfiles/.zshrc_extra_herbie_remote" ".zshrc_extra")
+   (:file-transfer "~/personal/dotfiles/.vimrc" ".vimrc")
+   (:file-transfer "~/personal/dotfiles/.screenrc" ".screenrc"))
+
+  (:sbcl
+   (:packages "sbcl" "rlwrap" "unzip")
+   (:file-transfer "remote-config/sbcl/sbclrc" ".sbclrc")
+   (:cmd "mkdir -p .sbcl/{site,systems}"))))
+
+; vim:ft=lisp