From: Paul Hänsch Date: Sat, 7 Dec 2019 05:10:44 +0000 (+0100) Subject: have credentials in extra file X-Git-Url: http://git.plutz.net/?p=blast;a=commitdiff_plain;h=699c7a99b4d27983ffabcf136ade43b6cf7c6e4d have credentials in extra file --- diff --git a/.gitignore b/.gitignore index 31af722..b449b4b 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ rpi_root.img config.mk .*.swp .*.swo +credentials.mk diff --git a/oktopus.mk b/oktopus.mk index ad05f75..a61db60 100644 --- a/oktopus.mk +++ b/oktopus.mk @@ -1,67 +1,24 @@ -## Choose only on of the possible target types -# image=disk.img -# squash=rootfs.squash raspi=oktopus.img -## Image size in MB. Needs to be able to hold all software. imagesize=1792 -## Additional packages -packages=python-tk,python-spidev,python-pygame,python-bluez,python-rpi.gpio,ckermit +modules=approx,remo2hbo,autoresize,display_ws5inch -## Debian release, so far only stretch has been tested +packages=python-tk,python-spidev,python-pygame,python-bluez,python-rpi.gpio,ckermit release=stretch +approxhost := localhost:9999 -## Comma separated list of config modules from modules/ directory -modules=approx,remo2hbo,autoresize,display_ws5inch - -## Hostname for the generated machine hostname=oktopus - -## Root password will be salted and encrypted in image -rootpass=plasmakocher - -## The corresponding .pub file for the given rootkey will be applied as -## SSH login file for the root user. -## If the pub file is not found, a new key pair will be generated -# rootkey=image_ssh rootkey=oktopus -## Comma separated list of users to be set up. -## User logins will start out with an empty password -## If the live module is in use, users will also be added to the sudo group -# users=adam,steve - -## Wifi configuration, if a Wifi password is given, WPA encryption will be used -## without the password, the system will try to connect to an open wifi -#wifi=berlin.freifunk.net -# wifi=MyWiFi -# wifipass=P4ssW0rD -# wifi=funky Kater -# wifipass=katerholzig -wifi=Layer9 -wifipass=AllePriesterSaufenTequilaNachDerPredigt - -## Timezone as offered by Debians tzdata selection timezone=Europe/Berlin - -## Comma separated list of locales, first one will become default locale locales=en_US.UTF-8 -## If nodm is installed, you can choose a user to login automatically -## If no user is given here, then nodm will default to root - -## In nodm, use full screen chromium web browser as session webui=http://localhost/ -## When using NIS modules the directory server should be given -# nis_server=nismaster - -## If the approxmodule is enabled, then one (and only one) apt-source -## can be choosen to install packages from -## See modules/approx.mk if you need more flexibility -# approx=http://localhost:9000/debian -approxhost := localhost:9999 +include credentials.mk +credentials.mk: + printf 'rootpass=\nwifi=\nwifipass=\n' .PHONY: _oktopus_maskjournal _config: _oktopus_maskjournal ${CFGROOT}/opt/demo.py