Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Sysadmin
Neon Components for OpenQA
Commits
00793356
Commit
00793356
authored
Feb 06, 2018
by
Harald Sitter
🐰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add support to run ubiquity offline to ensure grub installs properly
parent
46662f84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
neon/tests/install_ubiquity.pm
neon/tests/install_ubiquity.pm
+9
-0
No files found.
neon/tests/install_ubiquity.pm
View file @
00793356
...
...
@@ -35,6 +35,12 @@ sub run {
{
assert_script_run
'
wget
'
.
data_url
('
geoip_service.rb
'),
16
;
script_sudo
'
systemd-run ruby `pwd`/geoip_service.rb
',
16
;
# Disable networking during installation to ensure network-less
# installation works as expected.
if
(
get_var
('
OPENQA_INSTALLATION_OFFLINE
'))
{
assert_script_sudo
'
nmcli networking off
';
}
}
select_console
'
x11
';
...
...
@@ -107,6 +113,9 @@ sub post_fail_hook {
select_console
'
log-console
';
# Make sure networking is on (we disable it during installation).
assert_script_sudo
'
nmcli networking on
';
# Uploads end up in wok/ulogs/
assert_script_run
'
journalctl --no-pager -b 0 > /tmp/journal.txt
';
upload_logs
'
/tmp/journal.txt
';
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment