windows tests: move install.txt into separate file

This commit is contained in:
Astro 2019-04-13 23:32:09 +02:00 committed by Sébastien Bourdeauducq
parent aa0ab8cb90
commit 3b8c85a70a
2 changed files with 18 additions and 13 deletions

View File

@ -49,6 +49,10 @@ let
builtins.concatStringsSep " "
(map (s: "\"${s}\"")
(import ../conda-artiq-deps.nix));
instructions =
builtins.toFile "install.txt"
(builtins.readFile ./install.txt);
in
stdenv.mkDerivation {
name = "windows-installer";
@ -83,19 +87,7 @@ stdenv.mkDerivation {
"-drive" "file=c.img,index=0,media=disk"
]} &
fi
echo "Add user account with expected password [user/user]."
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"
cat ${instructions}
read
${ssh "ver"}

13
artiq/windows/install.txt Normal file
View File

@ -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