From: Benjamin Braatz Date: Wed, 3 Aug 2022 03:42:52 +0000 (+0200) Subject: Preparation for ssh-keymanagement and conf-lightpi.json. X-Git-Url: http://git.graph-it.com/?a=commitdiff_plain;h=e41774ecfdc6e16d2cb73e58836100c0e4aa4dfb;p=graphit%2Fcontrolpi-image.git Preparation for ssh-keymanagement and conf-lightpi.json. --- diff --git a/doc/index.md b/doc/index.md index faddb2b..4005e75 100644 --- a/doc/index.md +++ b/doc/index.md @@ -31,14 +31,16 @@ fakeroot gcc git i2c-tools +inetutils linux-rpi make openssh pacman-contrib parted python -raspberrypi-bootloader-x +raspberrypi-bootloader raspberrypi-firmware +rsync sudo vim ``` @@ -113,7 +115,7 @@ $ chmod -R go-rx .ssh/ ## Image erstellen und aufspielen Von außerhalb des chroot: ```console -$ sudo tar -czf contolpi.tar.gz -C controlpi/ . +$ sudo tar -czf controlpi.tar.gz -C controlpi/ . $ fallocate -l 4G 20YY-MM-DD-controlpi-arch.img $ sudo losetup --find --show 20YY-MM-DD-controlpi-arch.img $ sudo parted --script /dev/loop0 mklabel msdos @@ -128,5 +130,5 @@ $ sudo tar -xpf controlpi.tar.gz -C /mnt/ $ sudo umount /mnt/boot $ sudo umount /mnt $ sudo losetup --detach /dev/loop0 -$ sudo dd if=20YY-MM-DD-controlpi-arch.img of=/dev/mmcblk0 bs=1M +$ sudo dd if=20YY-MM-DD-controlpi-arch.img of=/dev/mmcblk0 bs=1M oflag=sync status=progress ``` diff --git a/home/pi/conf-industriepi.json b/home/pi/conf-industriepi.json new file mode 100644 index 0000000..dac7db3 --- /dev/null +++ b/home/pi/conf-industriepi.json @@ -0,0 +1,9 @@ +{ + "ControlPi-Master": { + "plugin": "WSClient", + "url": "ws://graph-hsv-hsrobotics-com.castle:8080", + "interface": "eth0", + "up filter": [ ], + "down filter": [ { "target": { "const": "" } } ] + } +} diff --git a/home/pi/conf-init.json b/home/pi/conf-init.json deleted file mode 100644 index dac7db3..0000000 --- a/home/pi/conf-init.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ControlPi-Master": { - "plugin": "WSClient", - "url": "ws://graph-hsv-hsrobotics-com.castle:8080", - "interface": "eth0", - "up filter": [ ], - "down filter": [ { "target": { "const": "" } } ] - } -} diff --git a/home/pi/conf-lightpi.json b/home/pi/conf-lightpi.json new file mode 100644 index 0000000..f289c65 --- /dev/null +++ b/home/pi/conf-lightpi.json @@ -0,0 +1,9 @@ +{ + "ControlPi-Master": { + "plugin": "WSClient", + "url": "ws://graph-castle-screwerk-com.castle:8080", + "interface": "eth0", + "up filter": [ ], + "down filter": [ { "target": { "const": "" } } ] + } +}