-
Notifications
You must be signed in to change notification settings - Fork 11
Description
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):
Vagrant.configure("2") do |config|
config.vm.box = "vmware-centos9-arm64"
config.vm.provider :vmware_desktop do |vmware|
vmware.gui = true
vmware.linked_clone = false
vmware.cpus = 2
end
end
I am unfortunately encountering 2 main issues, for which I didn't find any answer
- The GUI loads at first, but seems to get stuck
- I get stuck at this error:
==> default: Waiting for the VM to receive an address...
The logs are as follow:
DEBUG vmware_driver: Trying to get MAC address for ethernet0
DEBUG vmware_driver: No explicitly set MAC, looking or auto-generated one...
DEBUG vmware_driver: -- MAC: XX:XX:XX:XX:XX:XX
INFO vmware_driver: Reading DHCP lease for 'XX:XX:XX:XX:XX:XX' on 'vmnet8'
DEBUG vagrant_utility: request METHOD=GET PATH=/vmnet/vmnet8/dhcplease/XX:XX:XX:XX:XX:XX RESPONSE=400 ERROR=No entry found for MAC XX:XX:XX:XX:XX:XX
INFO vmware_driver: Trying vmrun getGuestIPAddress...
INFO subprocess: Starting process: ["/Applications/VMware Fusion.app/Contents/Library/vmrun", "getGuestIPAddress", "/Users/home/Virtual Machines.localized/vmware-centos9-arm64.vmwarevm/test/.vagrant/machines/default/vmware_desktop/a4fd56be-1a1d-4888-9687-c9764ccc1e5f/vmware-centos9-arm64.vmx"]
DEBUG subprocess: Command not in installer, not touching env vars.
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 255
INFO vmware_driver: vmrun getGuestIPAddress failed: VMRunError
(Mac address has been changed in above example)
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:
- VMWare tech fusion preview (current latest version)
- vagrant-vmware-desktop (3.0.1, global)