diff --git a/README.adoc b/README.adoc index f9ff73c..ba13ffb 100644 --- a/README.adoc +++ b/README.adoc @@ -15,3 +15,21 @@ Test with `centos7-01`: . apply it with `./chezmoi apply` After that a `bin` directory will exist (if not yet present before), move the executable to this dir to have it `PATH`. + +=== AWS Systeme (Draft) + +TODO: create user file for initialization at provisioning + +. install go `sudo yum install golang golang-bin` +. install _chezmoi_ from git repo (see below) +. check GOPATH and adjust if necessary +. initialize with `chezmoi init https://gitea.sdroid.uber.space/heavy/dotfiles.git` (Use 'heavy' as user). +. check what will happen with `chezmoi diff` +. apply it with `chezmoi apply` + +.chezmoi installation +[source,console] +cd $(mktemp -d) +git clone --depth=1 https://github.com/twpayne/chezmoi.git +cd chezmoi +go install \ No newline at end of file diff --git a/dot_sshrc.tmpl b/dot_sshrc.tmpl index 8ecf1b7..40e2648 100644 --- a/dot_sshrc.tmpl +++ b/dot_sshrc.tmpl @@ -13,9 +13,10 @@ fi # mySystem=$(uname -n) myFQDN="$(uname -n).$(dnsdomainname)" -myCategory={{.bash.prompt.category}} -myType={{.chezmoi.hostname}} -myPrettyName={{.chezmoi.osRelease.prettyName}} +myCategory="{{.bash.prompt.category}}" +myType="{{.chezmoi.hostname}}" +myPrettyName="{{.chezmoi.osRelease.prettyName}}" +myNum=0 # last exit code function lastExitCode {