-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
opensuse-leap-15-x86_64.pkrvars.hcl build for virtualbox issues #1491
Comments
Hey, it seems that I find a work-around:
The idea came from the reading back this message (in the first picture): Also I suspected a problem linked to 'wicked' configuration and I find this blog https://kubic.opensuse.org/blog/2022-05-05-NetworkManager-Wicked/ also I manage to login the VM and just prefer to use yast to install NetworkManager & remove wicked & wicked-service and rebuild the autoyast.xml (cloning system?). I just copy it on my host to replace the previous one. (Just noticed a short time of 10 second to select the default keymap? and [FAILED] message regarding the restart of NetworkManger but apparently harmless) May be can we foreseen to build boxes like this and if want the final boxes configured with 'wicked' , we can swicth back to this at the end of the packer build? Take care of you and your beloved, Rudy |
I'll try to take a look at it more. As of right now though it may be a while as there are also many other builds failing on several providers. Prioritizing things for x86_64 virtualbox, parallels, vmware first then aarch64 parallels next. |
ideally we'd get things to work with standard install as then customization after the fact would be up to the user/company and hopefully through tools like chef or another configuration management tool. For other OS's that switched to live CD's we've had to add to the cloudinit or xml files early steps to disable SSH as that is what causes the early packer login and failure as it tries to login to the installer OS and not the final installed OS. |
Understand. |
In the change log I have a TODO for looking into using cdrom_files for things like that. Hyper-V gen 2 also removes disk drives and it would eliminate network connection to host for http file share. It'd make things more compatible as well as hopefully faster. |
Now that I reach to build my OpenSUSE-Tumbleweed box image, I take few minutes for a POC to only bootstrap the OS:
Just a first step : I still have to learn in more details how manage other steps. Thx again for all kind support ;) |
The build of this opensuse-leap-15.4 box for VBox failed :(
Describe the problem
Here are my build notes:
As I monitor at the same time the "Show" of the VirtualBox console of this VM, it looks still starting up when the "StepConnect" failed, though?
As you may have noticed, I used the option "-on-error=ask" to have more time to analyze the status of the VM, also that let enough time to the boot to complete:
and now that the login prompt is available, I can verify at this moment that the NIC is well up and the IP is well configured by DHCP and even an "$ ssh [email protected]" works successfully .
Then at the 'ask' prompt , I type 'r' to retry and the process continue to build the image near the end ...
but unfortunately it failed a second time for this other reason:
There is well an OVF available :
(but I not yet learn how to use it to build the 'box' with it :()
PS: the additional '-var-file=./customs/var-vb7-AHCI.pkr.hcl' is just to speed a bit the pocess, it just contains:
(but same issue occurs without it)
Software Version
the git log of today is:
and the other tools:
Replication Case
Just launch the same cmd (I do not yet try the bento cmd :()
Stacktrace
Possible Solution
Sorry not yet enough packer expertise .
The text was updated successfully, but these errors were encountered: