Skip to content
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

Bucc up lite not working with virtualbox #221

Open
dannystaple opened this issue Jan 13, 2022 · 2 comments
Open

Bucc up lite not working with virtualbox #221

dannystaple opened this issue Jan 13, 2022 · 2 comments

Comments

@dannystaple
Copy link

Virtualbox attempt with:

bucc clean
bucc up --lite

Leads to


Cleaning up rendered CPI jobs... Finished (00:00:00)

Deploying:
  Creating instance 'bosh/0':
    Creating VM:
      Creating vm with stemcell cid 'sc-3fa3fc1f-5104-475b-7e87-e9e9ec3ede59':
        CPI 'create_vm' method responded with error: CmdError{"type":"Bosh::Clouds::CloudError","message":"Creating VM with agent ID '{{3060352c-03be-45db-6405-a76e9f74db63}}': Enabling networks: Retried '30' times: Running command: 'VBoxManage hostonlyif ipconfig vboxnet1 --ip 192.168.50.1 --netmask 255.255.255.0', stdout: '', stderr: 'VBoxManage: error: Code E_ACCESSDENIED (0x80070005) - Access denied (extended info not available)\nVBoxManage: error: Context: \"EnableStaticIPConfig(Bstr(pszIp).raw(), Bstr(pszNetmask).raw())\" at line 242 of file VBoxManageHostonly.cpp\n': exit status 1","ok_to_retry":false}

Exit code 1

Virtualbox 6.1.30 r148432 (Qt5.6.3) on MacOS 11.6.2 (20G314).

@ramonskie
Copy link
Contributor

ramonskie commented Jan 13, 2022

@jppitout
Copy link

jppitout commented Oct 16, 2023

@dannystaple

Below worked for me on Ubuntu 22.04.3 LTS:

sudo mkdir /etc/vbox
sudo vim /etc/vbox/networks.conf

and add whatever nework range to that file, for me it was:

* 192.168.50.0/24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants