Lines Matching +full:- +full:n

5 # Copyright 2017-2019 Red Hat Inc.
12 # the COPYING file in the top-level directory.
25 link = "https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.3/images/NetBSD-9.3-amd64.iso"
30 "git-base",
34 "ninja-build",
40 "gettext-tools",
66 set -e;
67 rm -rf /home/qemu/qemu-test.*
68 cd $(mktemp -d /home/qemu/qemu-test.XXXXXX);
70 tar -xf /dev/rld1a;
72 ../src/configure --disable-opengl --extra-ldflags=-L/usr/pkg/lib \
73 --extra-cflags=-I/usr/pkg/include {configure_opts};
74 gmake --output-sync -j{jobs} {target} {verbose};
91 subprocess.check_call(["ln", "-f", cimg, iso])
92 self.exec_qemu_img("create", "-f", "qcow2", img_tmp, self.size)
96 "-machine", "graphics=off",
97 "-cdrom", iso
101 self.console_wait_send("> ", "consdev com0\n")
102 self.console_wait_send("> ", "boot\n")
104 self.console_wait_send("Terminal type", "xterm\n")
105 self.console_wait_send("a: Installation messages", "a\n")
106 self.console_wait_send("a: Install NetBSD", "a\n")
108 self.console_wait_send("b: Yes", "b\n")
110 self.console_wait_send("a: ld0", "a\n")
111 self.console_wait_send("a: Guid Partition Table", "a\n")
112 self.console_wait_send("a: This is the correct", "a\n")
113 self.console_wait_send("b: Use default part", "b\n")
114 self.console_wait_send("x: Partition sizes ok", "x\n")
116 self.console_wait_send("b: Yes", "b\n")
118 self.console_wait_send("b: Use serial port com0", "b\n")
119 self.console_wait_send("f: Set serial baud rate", "f\n")
120 self.console_wait_send("a: 9600", "a\n")
121 self.console_wait_send("x: Continue", "x\n")
123 self.console_wait_send("a: Full installation", "a\n")
124 self.console_wait_send("a: CD-ROM", "a\n")
127 self.console_wait_send("Hit enter to continue", "\n")
129 self.console_wait_send("d: Change root password", "d\n")
130 self.console_wait_send("a: Yes", "a\n")
132 self.console_send("%s\n" % self._config["root_pass"])
134 self.console_send("%s\n" % self._config["root_pass"])
136 self.console_send("%s\n" % self._config["root_pass"])
138 self.console_wait_send("o: Add a user", "o\n")
140 self.console_send("%s\n" % self._config["guest_user"])
142 self.console_wait_send("a: Yes", "a\n")
143 self.console_wait_send("a: /bin/sh", "a\n")
145 self.console_send("%s\n" % self._config["guest_pass"])
147 self.console_send("%s\n" % self._config["guest_pass"])
149 self.console_send("%s\n" % self._config["guest_pass"])
151 self.console_wait_send("a: Configure network", "a\n")
152 self.console_wait_send("a: vioif0", "a\n")
153 self.console_wait_send("Network media type", "\n")
155 self.console_wait_send("a: Yes", "a\n")
156 self.console_wait_send("DNS domain", "localnet\n")
158 self.console_wait_send("a: Yes", "a\n")
160 self.console_wait_send("a: Yes", "a\n")
162 self.console_wait_send("e: Enable install", "e\n")
165 self.console_wait_send("f: Proxy", "f\n")
167 self.console_send("%s\n" % proxy)
168 self.console_wait_send("x: Install pkgin", "x\n")
170 self.console_wait_send("Hit enter to continue", "\n")
173 self.console_wait_send("g: Enable sshd", "g\n")
174 self.console_wait_send("x: Finished conf", "x\n")
175 self.console_wait_send("Hit enter to continue", "\n")
178 self.console_wait_send("d: Reboot the computer", "d\n")
184 self.console_wait_send(prompt, "exit\n")
191 # setup virtio-blk #1 (tarfile)
193 self.console_send("echo 'chmod 666 /dev/rld1a' >> /etc/rc.local\n")
197 self.console_send("echo security.pax.mprotect.enabled=0 >> /etc/sysctl.conf\n")
200 self.console_wait_send(prompt, "reboot\n")
205 self.ssh_root_check("pkgin update\n")
206 self.ssh_root_check("pkgin -y install %s\n" % " ".join(self.pkgs))