-
Notifications
You must be signed in to change notification settings - Fork 76
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
Allow for network role to be fully optional, building on PR #3173 #3302
Conversation
I'd also like to test this PR on Ubuntu Desktop 22.04[*] on RPi 4. Possibly that's good enough? What aspects most need to be tested? (Beyond basic hotspot functionality.) [*] An OS that's a bit overweight so it will take time to download + unpack + install etc. |
Why 91046a4 when in #3286 (comment) the advantage was pointed out of having the install role in that location? |
Done, with iiab-diagnostics output here: http://sprunge.us/jzV7JG?en
|
A painfully long delay[*] before installing sshd, and remote access essentials (OpenVPN, remote.it) and similar support/diagnostic "bootstrapping tools" at the beginning of Stage 1 is a bad idea. [*] Installing 12+ networking tools (possibly including Squid, and configuring /etc/sysctl.conf) are just not quite as urgent as the above. |
@tim-moody @georgejhunt I'd like to merge this today — so doc refinement can begin — if you do not see any serious risks/problems? |
Top is jzV7JG?en bottom 2 are multipass vm, Is that second route present after a reboot?
On any budget hardware the initial install/boot is slow, but in the long run you get a more pristine engineered install with some security in mind. |
roles/0-init/tasks/hostname.yml
Outdated
# when: is_redhat | ||
|
||
# roles/network/tasks/hosts.yml [no longer in use] ALSO did this: | ||
# should the first entry match just hostname and domain move to after localhost? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should [
/etc/hosts
] first entry match just hostname and domain move to after localhost?
line: '127.0.0.1 {{ iiab_hostname }}.{{ iiab_domain }} localhost.localdomain localhost {{ iiab_hostname }} box box.lan'
Good question (I don't know what's best). Post another PR if possible?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your ball game now, you figure it out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The '127.0.0.1 box.lan hack in /etc/hosts' was more to ease the need for rewriting documentation, where what would be needed to be entered in the browser's address bar 'localhost' on the iiab box with a desktop vs 'box' or 'box.lan' from a client on the LAN could be the same was the excuse that was made for the hack at that point of time in the past. #8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jvonau for digging up these prior tickets that explain how http://box
and http://box.lan
are critical — e.g. when schools/clinics/etc are onboarding new people (who often struggle even with their own smartphone).
Good news, it goes away after reboot:
|
It's been almost 24h so let's give this PR a shot. |
This is @jvonau's PR #3145 with a few adjustments building on:
Lightly tested on 64-bit RasPiOS Lite on RPi 4.
Related: