diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-10-28 15:24:58 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-10-28 15:24:58 +0000 |
commit | 6b397ad7cb914bcd9ab3b0a324f0a8a8045aaf7d (patch) | |
tree | 4e8c9fd36f6b800961109bbad4fcc3c6fc514316 | |
parent | ca9774c75f62b0fd23ab7638866fe863e950fb5a (diff) | |
parent | a6d5560ee1d9ffcd52c70c86a6aa994e25dd71af (diff) | |
download | puomi-6b397ad7cb914bcd9ab3b0a324f0a8a8045aaf7d.tar.gz |
Merge branch 'liw/fixes' into 'main'
fix(install.md): fix commands so that they work, when copy-pasted
See merge request larswirzenius/puomi!24
-rw-r--r-- | install.md | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -53,7 +53,7 @@ These steps will be covered in more detail below. * Write the installer to the USB drive and configure it. ~~~sh - ./write-and-config your.yaml /dev/sdx + sudo bash write-and-config.sh your.yaml /dev/sdx v-i.img ~~~ * Create a "specification" file to describe the installation you want @@ -72,13 +72,17 @@ These steps will be covered in more detail below. YOUR SSH PUBLIC KEY GOES HERE ~~~ + The `user_pub` variable will be put into the `root` user's + `authorized_keys` file. This will allow you to maintain the + installed Puomi router from another machine using Ansible. + * Copy the spec file and the Puomi initial playbook to the installer - drive, to `root` user home directory. The drive should still be - mounted after the previous steps. Run `df` to see where it is - mounted. + drive, to `root` user home directory. ~~~sh - cp x220.yaml puomi-playbook.yml /media/$USER/$SOMETHING/root/ + sudo mount /dev/sdx2 /mnt + sudo cp x220.yaml puomi-playbook.yml /mnt/root/ + sudo umount /mnt ~~~ * Make sure everything is written to the drive, then remove it. |