activation script fix
This commit is contained in:
parent
8f23618b47
commit
75be09e846
@ -173,10 +173,8 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
system.activationScripts.createDockerNetworkWeb = lib.mkAfter ''
|
||||
if ! /run/current-system/sw/bin/docker network ls | /run/current-system/sw/bin/awk '{print $2}' | /run/current-system/sw/bin/grep -q 'web'; then
|
||||
/run/current-system/sw/bin/docker network create web
|
||||
fi
|
||||
system.activationScripts.mkVPN = ''
|
||||
${pkgs.docker}/bin/docker network create web
|
||||
'';
|
||||
|
||||
# System state version (do not change)
|
||||
|
@ -132,6 +132,8 @@ get_device_name() {
|
||||
esac
|
||||
}
|
||||
|
||||
setup_from_template
|
||||
|
||||
# Collect user input
|
||||
echo "📝 Please provide the following information:"
|
||||
echo "-------------------------------------------"
|
||||
|
Loading…
x
Reference in New Issue
Block a user