You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on a discussion today, hostnames need to be unique on Berkeley's networks, which would require us to edit /etc/hostname on each gateway to include its MAC address.
It would be better if we could have the gateway automatically configure /etc/hostnames/ and /etc/sensu/conf.d/client.json on boot based on the MAC address. This would mean that the only personalization needed for each gateway would be /etc/network/interfaces to set the MAC address.
I think this can be done with a script that runs on boot after the filesystem has been initialized. The very first time, it would probably not affect the hostname early enough in the boot process to fix it, but the second boot (and thereafter) everything should work fine. http://askubuntu.com/questions/500916/setting-hostname-on-startup
The text was updated successfully, but these errors were encountered:
I want to add an optional script call to the end of first-install.sh, something like /opt/edison/first-install-umich.sh that would do things specific to a given version of the device. I need that for connecting to MWireless at least once so that NetworkManager will reconnect automatically in the future.
A future --berkeley flag could then enable first-install-berkeley.sh and do this at first boot.
Based on a discussion today, hostnames need to be unique on Berkeley's networks, which would require us to edit /etc/hostname on each gateway to include its MAC address.
It would be better if we could have the gateway automatically configure
/etc/hostnames/
and/etc/sensu/conf.d/client.json
on boot based on the MAC address. This would mean that the only personalization needed for each gateway would be/etc/network/interfaces
to set the MAC address.I think this can be done with a script that runs on boot after the filesystem has been initialized. The very first time, it would probably not affect the hostname early enough in the boot process to fix it, but the second boot (and thereafter) everything should work fine.
http://askubuntu.com/questions/500916/setting-hostname-on-startup
The text was updated successfully, but these errors were encountered: