-
Notifications
You must be signed in to change notification settings - Fork 13
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
Expand sd Card #3
Comments
Thanks for opening the issue. I know, that some of these things can be automated, just didn't add them yet. I'll leave this issue open as a reminder ;) |
I've posted it here because I've just found out by inspecting the script that we can pass some options to raspi-config (very few) but they are undocumented so I tough it might help ;) |
just started investigating ansible for setting up raspberry Pis. was gonna roll my own, but might as well start here. 👍 BTW, the source code for However, it looks like any routine in for i in $*
do
case $i in
...
nonint)
INTERACTIVE=False
$@
;;
and
And some of them are instrumented to be used that way, while others could be made to work. For example, I tested with:
And it worked! So might be worth exploring further... |
It looks like https://github.com/mikolak-net/ansible-raspi-config is already doing this. |
I added a few of these Note: Recent versions of Raspbian jessie automatically, upon first boot, perform the resize filesystem task, and reboot themselves, so I've found the expand fs to be no longer necessary for that. |
You could automate this already, some options are available to pass to raspi-config, for example:
raspi-config --expand-rootfs
The text was updated successfully, but these errors were encountered: