windows tests: move install.txt into separate file
This commit is contained in:
parent
aa0ab8cb90
commit
3b8c85a70a
|
@ -49,6 +49,10 @@ let
|
||||||
builtins.concatStringsSep " "
|
builtins.concatStringsSep " "
|
||||||
(map (s: "\"${s}\"")
|
(map (s: "\"${s}\"")
|
||||||
(import ../conda-artiq-deps.nix));
|
(import ../conda-artiq-deps.nix));
|
||||||
|
|
||||||
|
instructions =
|
||||||
|
builtins.toFile "install.txt"
|
||||||
|
(builtins.readFile ./install.txt);
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "windows-installer";
|
name = "windows-installer";
|
||||||
|
@ -83,19 +87,7 @@ stdenv.mkDerivation {
|
||||||
"-drive" "file=c.img,index=0,media=disk"
|
"-drive" "file=c.img,index=0,media=disk"
|
||||||
]} &
|
]} &
|
||||||
fi
|
fi
|
||||||
echo "Add user account with expected password [user/user]."
|
cat ${instructions}
|
||||||
echo "Enable the OpenSSH server:"
|
|
||||||
echo "- \"Add or remove programs\""
|
|
||||||
echo "- \"Manage optional features\""
|
|
||||||
echo "- \"Add a feature\""
|
|
||||||
echo "- \"OpenSSH Server\""
|
|
||||||
echo "- \"Install\""
|
|
||||||
echo "- Open \"Services\""
|
|
||||||
echo "- Double-click the \"OpenSSH SSH Server\" service"
|
|
||||||
echo "- Set \"Startup type\" to \"Automatic\""
|
|
||||||
echo "- \"Start\""
|
|
||||||
echo "- \"Ok\""
|
|
||||||
echo "Then press ENTER here to proceed with automatic installation"
|
|
||||||
|
|
||||||
read
|
read
|
||||||
${ssh "ver"}
|
${ssh "ver"}
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
Add user account with expected password [user/user].
|
||||||
|
Enable the OpenSSH server:
|
||||||
|
- "Add or remove programs"
|
||||||
|
- "Manage optional features"
|
||||||
|
- "Add a feature"
|
||||||
|
- "OpenSSH Server"
|
||||||
|
- "Install"
|
||||||
|
- Open "Services"
|
||||||
|
- Double-click the "OpenSSH SSH Server" service
|
||||||
|
- Set "Startup type" to "Automatic"
|
||||||
|
- "Start"
|
||||||
|
- "Ok"
|
||||||
|
Then press ENTER here to proceed with automatic installation
|
Loading…
Reference in New Issue