Merge pull request 'heavy-aws' (#1) from heavy-aws into develop
This commit is contained in:
commit
562074b26a
18
README.adoc
18
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
|
||||
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user