diff --git a/fedora/configure_fresh_system b/fedora/configure_fresh_system index 138939ef..bf58d2ba 100755 --- a/fedora/configure_fresh_system +++ b/fedora/configure_fresh_system @@ -32,6 +32,9 @@ if [[ -z $NO_SYSTEMCTL ]]; then fi # docker +if [[ -z $USER ]]; then + USER=`whoami` +fi sudo groupadd docker sudo usermod -aG docker $USER