pennestraat-domotica
2 years agoansible: add poudriere-image to the inventory list
Kristof Provost [Fri, 5 May 2023 07:38:49 +0000 (09:38 +0200)]
ansible: add poudriere-image to the inventory list

This should cause us to exectute on the intiall install image, setting
the hostname.
Also configure the playbook to only run the change of hostname on the
initiall installation image, so we can skip running that script on
subsequent ansible runs.

2 years agoimage: ansible-pull new configuration once an hour
Kristof Provost [Thu, 4 May 2023 21:39:57 +0000 (23:39 +0200)]
image: ansible-pull new configuration once an hour

2 years agoansible: add the qemu test host to the inventory
Kristof Provost [Thu, 4 May 2023 21:32:53 +0000 (23:32 +0200)]
ansible: add the qemu test host to the inventory

2 years agoansible: set up hostnames based on mac address
Kristof Provost [Thu, 4 May 2023 20:55:49 +0000 (22:55 +0200)]
ansible: set up hostnames based on mac address

2 years agoimage: rename usb to installer
Kristof Provost [Wed, 3 May 2023 20:36:39 +0000 (22:36 +0200)]
image: rename usb to installer

We create two images:
 - installer
   Intended to be flashed to a USB stick, to automagically image a
   domotica device
 - domotica
   The image to run on the alix boards

2 years agoansible: enable & start nginx
Kristof Provost [Wed, 3 May 2023 20:27:59 +0000 (22:27 +0200)]
ansible: enable & start nginx

2 years agoansible: first playbook
Kristof Provost [Wed, 3 May 2023 20:19:21 +0000 (22:19 +0200)]
ansible: first playbook

Install nginx, because we'll need something to serve web foo.

2 years agoansible: demo inventory
Kristof Provost [Wed, 3 May 2023 20:04:47 +0000 (22:04 +0200)]
ansible: demo inventory

2 years agoreadme: document how to get qemu to do networking
Kristof Provost [Wed, 3 May 2023 20:02:24 +0000 (22:02 +0200)]
readme: document how to get qemu to do networking

2 years agoInitial overlay for domotica machines
Kristof Provost [Wed, 3 May 2023 20:01:15 +0000 (22:01 +0200)]
Initial overlay for domotica machines

* Console over serial port
* set up 'kp' user & sudo
* crontab presence announcement to sigsegv.be with mac address
* ssh-able as kp

2 years agopackages: enough to install ansible
Kristof Provost [Wed, 3 May 2023 17:28:49 +0000 (19:28 +0200)]
packages: enough to install ansible

So we can play with ansible-pull

2 years agoUse the serial port for output
Kristof Provost [Wed, 3 May 2023 15:24:40 +0000 (17:24 +0200)]
Use the serial port for output

Also update the qemu hint to get the serial output on the console.

2 years agobuild: reduce USB image size
Kristof Provost [Tue, 2 May 2023 21:41:56 +0000 (23:41 +0200)]
build: reduce USB image size

There's no need for a lot of extra space. Enough to contain an extra
image, and that'll do it.

2 years agoInitial USB overlay
Kristof Provost [Tue, 2 May 2023 21:41:32 +0000 (23:41 +0200)]
Initial USB overlay

2 years agopackages: install bsddialog
Kristof Provost [Tue, 2 May 2023 21:33:55 +0000 (23:33 +0200)]
packages: install bsddialog

That's part of base in 14, but we're not going to arse around with
current for this. Just install the port.

2 years agoInitial commit
Kristof Provost [Tue, 2 May 2023 21:20:47 +0000 (23:20 +0200)]
Initial commit