summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-10-28 15:24:58 +0000
committerLars Wirzenius <liw@liw.fi>2023-10-28 15:24:58 +0000
commit6b397ad7cb914bcd9ab3b0a324f0a8a8045aaf7d (patch)
tree4e8c9fd36f6b800961109bbad4fcc3c6fc514316
parentca9774c75f62b0fd23ab7638866fe863e950fb5a (diff)
parenta6d5560ee1d9ffcd52c70c86a6aa994e25dd71af (diff)
downloadpuomi-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.md14
1 files changed, 9 insertions, 5 deletions
diff --git a/install.md b/install.md
index f0dabaf..5e1a35f 100644
--- a/install.md
+++ b/install.md
@@ -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.