README: point the install snippet at the real remote
This commit is contained in:
1 parent
be375fb312
commit
c445d83006
2 files changed
+2
-2
No files matched your search
@@ -18,7 +18,7 @@ is only the operational half.
|
|||||||
## Install (per machine)
|
## Install (per machine)
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone <your-repo> ~/homehub && cd ~/homehub
|
git clone https://gitea.lue.dk/druppy/homehub.git ~/homehub && cd ~/homehub
|
||||||
cp rules/hosts/_laptop-template rules/hosts/$(hostname -s) # pick your sets
|
cp rules/hosts/_laptop-template rules/hosts/$(hostname -s) # pick your sets
|
||||||
./bin/homehub setup-key # once, see warning below
|
./bin/homehub setup-key # once, see warning below
|
||||||
ssh-copy-id -i ~/.ssh/homehub_ed25519.pub nas.lue.dk # YOU run this
|
ssh-copy-id -i ~/.ssh/homehub_ed25519.pub nas.lue.dk # YOU run this
|
||||||
|
|||||||
+1
-1
@@ -716,7 +716,7 @@ cmd_setup() {
|
|||||||
hub "chmod 700 '$HUB_PATH' 2>/dev/null; ls -d '$HUB_PATH/.hub'/*" | sed 's/^/ /'
|
hub "chmod 700 '$HUB_PATH' 2>/dev/null; ls -d '$HUB_PATH/.hub'/*" | sed 's/^/ /'
|
||||||
hr "published rules"
|
hr "published rules"
|
||||||
git -C "$HH_ROOT" rev-parse --is-inside-work-tree >/dev/null 2>&1 &&
|
git -C "$HH_ROOT" rev-parse --is-inside-work-tree >/dev/null 2>&1 &&
|
||||||
v "rules live in git: $HH_ROOT — clone that repo on the other machines"
|
v "rules live in git (https://gitea.lue.dk/druppy/homehub): $HH_ROOT — clone that repo on the other machines"
|
||||||
[ -f "$HH_KEY" ] || cmd_setup_key
|
[ -f "$HH_KEY" ] || cmd_setup_key
|
||||||
}
|
}
|
||||||
cmd_install() {
|
cmd_install() {
|
||||||
|
|||||||
Reference in new issue
Block a user