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