Logo

dev-resources.site

for different kinds of informations.

Virtualbox 7.0.4 kickstart issue

Published at
12/8/2022
Categories
packer
virtualbox
vagrant
Author
fritshooglandyugabyte
Categories
3 categories in total
packer
open
virtualbox
open
vagrant
open
Author
21 person written this
fritshooglandyugabyte
open
Virtualbox 7.0.4 kickstart issue

I was building a new version of YugabyteDB vagrant box with packer and virtual box. Because we (Yugabyte) have a new preview release out.

If you are interested in the packer scripts, you can see them in my vagrant-yugabyte repository.

If you are interested in the outcome of the packer scripts building YugabyteDB, you can see the build boxes here. A description of how to use this can be found here.

However, I was unable to build the boxes with packer for some reason. It turned out that this wasn't an easy to fix or obvious issue. In fact, I had to search quite hard to find an answer. I am pretty sure my friend Tim Hall (oracle-base) ran into this issue too. Finally, I found a description of the issue on packer GitHub: Packer 1.8.4 not working with Virtualbox 7.0.4+ #12118.

The most important thing is that there is a resolution; add:

        [
          "modifyvm",
          "{{.Name}}",
          "--nat-localhostreachable1",
          "on"
        ]
Enter fullscreen mode Exit fullscreen mode

As a setting to the builders vboxmanage section.

So that is what you need to do if you find your packer (automated) RHEL builds fail with the message:

dracut-initqueue[<pid>]: curl: (28) Failed to connect to 10.0.2.2 port <port>: Connection timed out
dracut-initqueue[<pid>]: Warning: Problem : timeout. Will retry in 1 seconds. 3 tries left.
Enter fullscreen mode Exit fullscreen mode

(message in the console of the VM that is build)

Virtualbox version: 7.0.4r154605
packer version: 1.8.4
OSX version: 12.6.1 (Intel)

virtualbox Article's
30 articles in total
Favicon
ELK Stack Mastery: Building a Scalable Log Management System
Favicon
Resizing the disk on a Vagrant virtual machine
Favicon
How to send/receive local emails in Linux Mint/VirtualBox
Favicon
VM cannot access internet via NAT VirtualBox
Favicon
在virtualbox中运行openwrt
Favicon
Install Ubuntu 20.04 on Virtualbox on Ubuntu 20.04
Favicon
Running Servers Through VirtualBox
Favicon
Clean Debian Storage
Favicon
(Quick-note) How to fix Virtualbox 7 screen turning black when on fullscreen (or above a specific screen size) on Windows 11
Favicon
Getting started with Vagrant: a beginner's Guide
Favicon
Oracle 19c Data Guard builds on Rhel8 /Oracle linux8/Centos8 (Vagrant)
Favicon
OpenBSD 7.3 on VirtualBox 7: Installation as guest OS failed due to I/O APIC enabled
Favicon
OpenBSD 7.3 on VirtualBox 7: ゲスト OS インストールに失敗 - 原因は I/O APIC 有効化
Favicon
How to Setup Ubuntu 20.04 LTS on your local windows machine using Vagrant
Favicon
[end Kernel panic - not syncing: Attemted to kill the idle task] VirtualBox
Favicon
How to install VirtualBox
Favicon
Compartilhando o Serial do Windows com a VM
Favicon
SO - TP 1
Favicon
OpenBSD フルディスク暗号化 (on VirtualBox)
Favicon
OpenBSD Full Disk Encryption (on VirtualBox)
Favicon
Virtualbox 7.0.4 kickstart issue
Favicon
Getting Started With Vulnhub
Favicon
SSH into your local VM as if it is a paid IaaS
Favicon
VirtualBox/VMware Alternatives for Linux
Favicon
Useful: VirtualBox helpers / Command
Favicon
Pardus 21 Sunucu Kurulumu Part 1 Sanal Makine oluşturma ve Makine ayarları
Favicon
How to solve E_INVALIDARG (0x80070057) in VirtualBox
Favicon
Bitrix Installation on Centos (Virtualbox & EC2)
Favicon
How to Install VirtualBox on Kali OS(2022)
Favicon
How to Install Genymotion & VirtualBox on Parrot OS

Featured ones: