Open grouville opened 2 years ago
@grouville Sorry for the delayed response, I stopped receiving notifications from GitHub for some reason and have been very busy. I stopped working on the centos boxes due to multiple issues at the time. I don't recall this specific issue, but if you have since found a workaround feel free to submit a PR! 🙇
@grouville - Hey, I experienced this issue and managed to fix it. I have a working version in my fork.
The fix was to add the following in the Vagrantfile:
config.vm.provider "vmware_desktop" do |v|
v.vmx["ethernet0.virtualDev"] = "e1000e"
# ...
end
@dbrennand Awesome! Would you be able to do a PR then we can merge this in? Thanks :)
Hi @BytesGuy - I've made quite a few changes in my fork.
Vagrantfile
.*.auto.pkr.hcl
for extra build customisation.data
and scripts
directories. This follows a similar structure to: https://github.com/vmware-samples/packer-examples-for-vsphere/tree/main/builds/linuxDistro | Version | Provider |
---|---|---|
CentOS Stream | 9 | VMware Fusion |
Ubuntu Server | 22.04.2 | VMware Fusion |
Debian | 11 | VMware Fusion |
Not sure how we should proceed in merging these changes in since I've changed quite a bit 😅
Hey @BytesGuy - Any thoughts on above? 🙂
@dbrennand Hey really sorry for lack of responses on here, work has been super busy the past few months but I will be carving out some time to get this repo back on track soon! Please feel free to open a PR and I can go through the changes and thanks :)
Hello, I have been trying to run a Centos Stream 9 vagrant box on a Macbook pro M1, following your packer and your scripts. (I built the base VM manually, while trying to follow as much as possible your logic.
Once the VM created with the proper SSH key and the proper visudo rule, I made the tarball, as you do (also based on https://github.com/ysz/vagrant-vmware-box).
My current Vagrantfile to run this newly created box named
vmware-centos9-arm64
(locally):I am unfortunately encountering 2 main issues, for which I didn't find any answer
==> default: Waiting for the VM to receive an address...
The logs are as follow:
Whenever I manually run
vmrun getGuestIPAddress
on the base VM (directly run from vmware), it works, I get the corresponding IP. However, whenever I run it on the VM started with vagrant, I get above error.Whenever I run your other arm boxes (https://app.vagrantup.com/bytesguy/boxes/ubuntu-server-22.04-arm64), it works without any issue (just need to run with the GUI, otherwise it hangs. However, with ubuntu, it works)/
Do you have the same issue ? Any idea on how to fix it ? Did you manage to start a centos stream 9 box ?
Thanks for all the work, it's really useful 😇
Versions: