modified: auto-installer/installer.nix
This commit is contained in:
@@ -45,7 +45,9 @@ environment.etc."git-credentials".text =
|
||||
];
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = pkgs.writeShellScript "auto-install.sh" ''
|
||||
# ExecStart = pkgs.writeShellScript "auto-install.sh" ''
|
||||
ExecStart = ''
|
||||
${pkgs.bash}/bin/bash -l -c '
|
||||
set -eux
|
||||
#create MBR table
|
||||
parted /dev/sda -- mklabel msdos
|
||||
@@ -74,6 +76,7 @@ environment.etc."git-credentials".text =
|
||||
rm -r /mnt/install-tmp
|
||||
sleep 10
|
||||
reboot
|
||||
'
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user