diff --git a/lib/kickstart-bootstrap b/lib/kickstart-bootstrap index bb362a4..3b93c4f 100755 --- a/lib/kickstart-bootstrap +++ b/lib/kickstart-bootstrap @@ -15,4 +15,4 @@ cat <<\CMD CMD ) -tar chz -C "$(kickstart root-dir)" . | ssh $target "$remote_command" +tar chz -C "$(kickstart root-dir)" . | ssh $target "bash -c '$remote_command'"