fixin init_mystuff,qemu,user-data

This commit is contained in:
Zsolt Alföldi
2026-03-07 16:46:26 +01:00
parent f1221d920f
commit 03032f8f27
3 changed files with 16 additions and 14 deletions

View File

@@ -3,13 +3,12 @@ set -ex
_user=alfoldi
_hostname=nokia-l13g4-sisu
_hostname=192.168.1.139
_port=22
# _hostname=localhost
# _port=12222
# _ssh=alfoldi@nokia-l13g4-sisu
# _ssh="-e 'ssh -p 12222' alfoldi@localhost"
echo "
Host nokia-sisu
HostName $_hostname
@@ -26,7 +25,7 @@ sudo mkdir -p /persists/sops/age/
sudo chown $USER -R /persists/sops/age/
'"
my_rsync --mkpath ~/.config/sops/age/keys.txt nokia-sisu:/persists/sops/age/
my_rsync --mkpath /persists/sops/age/keys.txt nokia-sisu:/persists/sops/age/
my_rsync ~/.ssh/ nokia-sisu:~/.ssh
ssh -qF /tmp/sisu.ssh nokia-sisu <<'EOF'