Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

100% unattended installation #11

Open
emilecantin opened this issue Apr 5, 2016 · 2 comments
Open

100% unattended installation #11

emilecantin opened this issue Apr 5, 2016 · 2 comments

Comments

@emilecantin
Copy link

Starting from this image: https://github.com/debian-pi/raspbian-ua-netinst, it would be pretty easy to provide some configuration files for that image to also install Ansible and git, and install from this repo. That would give a 100% unattended installation: just dump a few files on your SD card, plug it into the Pi, power on and a few minutes later you're up & running!

Thoughts?

@tkurki
Copy link
Owner

tkurki commented Apr 5, 2016

I actually used ua-netinst a few times before starting with this Ansible stuff.

Jessie Lite seemed like a better option, as it works better for me (less stuff to install manually, netinst is really bare bones), is a more common starting point and it is still a reasonable size (1.3 G).

Bootstrapping from that you would need something like a "netinst-bootstrap" role to get it about level with Jessie Lite.

After that you would also need some way to bootstrap your own playbook and get secrets (your SSID and like) deployed

You feel like tackling this? Would be cool and probably useful as well, since it removes the Ansible installation part, which is not super useful if all you want is a "standard" SK Pi SD card.

I'm going to continue in the other direction: extend this so that provisioning will produce an SK server embedded integration for my I2C sensors, udev rules for my usb devices and SK server config for my devices.

@emilecantin
Copy link
Author

I think that it would go a long way towards simplifying the installation for potential users. I agree that the 'secrets' part needs to be solved, but that's doable.

I'm willing to tackle this, I was mostly opening the issue to gauge interest in this. I don't know Ansible though (I use Puppet), but this will be the perfect occasion to learn!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants