Initial k8s build
This commit is contained in:
1 parent
fd66b79b0b
commit
bbb955f1c8
5 files changed
+17
-4
No files matched your search
@@ -35,9 +35,9 @@ else
|
||||
fi
|
||||
|
||||
function run {
|
||||
cmd=${1}
|
||||
echo -e "$BOLD$cmd$NC on $YELLOW$target_host with $profile through $build_host$NC"
|
||||
runcmd="nixos-rebuild --target-host $target_host --use-remote-sudo $cmd --flake .#$profile"
|
||||
remote_cmd=${1}
|
||||
echo -e "$BOLD$remote_cmd$NC on $YELLOW$target_host with $profile through $build_host$NC"
|
||||
runcmd="nixos-rebuild --target-host $target_host --use-remote-sudo $remote_cmd --flake .#$profile"
|
||||
echo -e "$BLUE$runcmd$NC"
|
||||
$runcmd
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user