From a6d5560ee1d9ffcd52c70c86a6aa994e25dd71af Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 28 Oct 2023 18:05:38 +0300 Subject: fix(install.md): fix commands so that they work, when copy-pasted Signed-off-by: Lars Wirzenius Sponsored-by: author --- install.md | 14 +++++++++----- 1 file 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. -- cgit v1.2.1