-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add interactive-defaults.ks to updates image #463
Add interactive-defaults.ks to updates image #463
Conversation
e6b1fb7
to
d6bf74d
Compare
@KKoukiou I'm not able to tell from the logs why I'm getting failures. Are you able to find more information? |
test/machine_install.py
Outdated
os.makedirs(f"{tmp_dir}/{defaults_path}") | ||
with open(f"{tmp_dir}/{defaults_path}/interactive-defaults.ks", "wt", encoding="utf-8") as f: | ||
f.write(content) | ||
os.system(f"cd {tmp_dir} && find . | cpio -c -o | gzip -9cv > {updates_image}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not extend the existing updates.img from what I understand - it overwrites it. Right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh my, true.... how could I do such a dumb mistake... I'll fix that, thanks for spotting this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
a6e9e23
to
793356c
Compare
793356c
to
9b45196
Compare
The interactive-defaults is must have to enable testing of web ui on the boot.iso because we don't have support for package based installations there. This way we are serving the tarball for the VM which will be used as payload to overcome this missing implementation. Do not SSH the interactive-defaults.ks into the VM when it's running but instead add the interactive-defaults.ks to the updates.img. The SSH copy of interactive-defaults.ks works but not reliably. The issue is that we are copying the interactive-defaults.ks to the running installation and if the file will land too late it won't be taken by the installer. To avoid this issue add the interactive-defaults.ks content to the updates image before the VM is started.
9b45196
to
1f42a31
Compare
I'm testing out switch from
or
and similar issues. |
0b98b29
to
b38358d
Compare
b38358d
to
6774fe3
Compare
Thanks for the update @KKoukiou |
6774fe3
to
48378d0
Compare
I removed the WIP commits. |
The interactive-defaults is must have to enable testing of web ui on the boot.iso because we don't have support for package based installations there. This way we are serving the tarball for the VM which will be used as payload to overcome this missing implementation.
Do not SSH the interactive-defaults.ks into the VM when it's running but instead add the interactive-defaults.ks to the updates.img. The SSH copy of interactive-defaults.ks works but not reliably. The issue is that we are copying the interactive-defaults.ks to the running installation and if the file will land too late it won't be taken by the installer.
To avoid this issue add the interactive-defaults.ks content to the updates image before the VM is started.