Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
greendog99 committed Oct 15, 2019
1 parent 89e22ce commit 57779ba
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,14 @@ To do this, `ssh` into the RPi and issue a `sudo shutdown now` to shut
it down. Move the SD card to another computer and use software on that
computer to save the full SD card image to a file.

For example, to capture the SD card image on an Ubuntu Linux server:
For example, to capture the SD card image on an Ubuntu Linux server,
with the SD card mounted as disk `sdd`:

```
sudo umount /dev/mmcblk0p1 /dev/mmcblk0p2
sudo dd bs=4M if=/dev/mmcblk0 of=coachproxyos_1.0.img
sudo umount /dev/sdd1 /dev/sdd2
sudo dd bs=4M if=/dev/sdd of=coachproxyos_1.0.img
```

After capturing the image, a utility like
[PiShrink](https://github.com/Drewsif/PiShrink) can be used to shrink
the image for use on smaller SD cards.
2 changes: 1 addition & 1 deletion inventory/hosts.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
all:
hosts:
cp-build:
ansible_host: 192.168.50.113
ansible_host: 192.168.50.114
ansible_user: pi
ansible_become_pass: raspberry
2 changes: 1 addition & 1 deletion roles/node-red/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
shell: "yes | /tmp/update-nodejs-and-nodered"
when: node_red_start.stat.exists == false

- name: Ensure required node-red nodes are installed (be patient for sqlite)
- name: Ensure required node-red nodes are installed
npm:
name: "{{ item }}"
path: /coachproxy/node-red
Expand Down

0 comments on commit 57779ba

Please sign in to comment.