[feat] Add prompt about master needing internet access

When package updates go through the master node, that master needs internet access.
Therefore, prompt the user about this requirement.

Resolves #146
This commit is contained in:
William Wernert
2020-05-27 10:11:54 -04:00
parent 377d8e6336
commit c614e0a880
2 changed files with 13 additions and 0 deletions

View File

@@ -231,6 +231,9 @@ fi
if [[ $is_distmaster || ( $is_sensor || $is_node ) && ! $is_eval ]]; then
whiptail_master_updates
if [[ $setup_type == 'network' && $MASTERUPDATES == 1 ]]; then
whiptail_master_updates_warning
fi
fi
if [[ $is_minion ]]; then