add sudo
This commit is contained in:
parent
912a6b7242
commit
ca3131c7ef
@ -2,7 +2,9 @@
|
|||||||
#storePath=$(/run/current-system/sw/bin/nix-store -q installFiles)
|
#storePath=$(/run/current-system/sw/bin/nix-store -q installFiles)
|
||||||
|
|
||||||
echo "Installing system using disco and flake"
|
echo "Installing system using disco and flake"
|
||||||
|
echo "Input your sudo password when prompted"
|
||||||
|
sleep 2s
|
||||||
|
sudo -s
|
||||||
cd ./installer
|
cd ./installer
|
||||||
#disko-install --disk main /dev/sda --flake $storePath/etc#zabbixProxy
|
#disko-install --disk main /dev/sda --flake $storePath/etc#zabbixProxy
|
||||||
nix run 'github:nix-community/disko/latest#disko-install' -- --flake './etc#zabbixProxy' --disk main /dev/sda
|
nix run 'github:nix-community/disko/latest#disko-install' -- --flake './etc#zabbixProxy' --disk main /dev/sda
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user