Hey vbox-users,

This is my first time mailing this list. Just some quick context so you
know where I'm coming from: I'm a novice VirtualBox user. Most of my
experience has been using prebuilt images (e.g. virtualboxes.org), and I
haven't really used the VirtualBox GUI; most of the VMs I've used have been
hosted remotely, and I've been interacting with them via SSH and the
vboxmanage command-line utility. For various reasons the only networking
configuration I've used in practice has been NAT with port-forwarding.

I want to learn how to use the packer <https://packer.io/> virtual machine
creation utility. I followed the virtualbox-iso example
<https://www.packer.io/docs/builders/virtualbox-iso.html>; the virtual
machine seems to build without issue. Packer produces two files:

packer-virtualbox-iso-1428331343-disk1.vmdk
packer-virtualbox-iso-1428331343.ovf

I import the virtual machine with the following command:

vboxmanage import --vsys 0 --vmname ubuntu
packer-virtualbox-iso-1428331343.ovf

So far so good; I'm having the following problem(s) when running the vm:

   1. While booting, the vm spends a long time trying to configure the
   network (when the messages "Waiting for network configuration..."
and "Waiting
   up to 60 more seconds for network configuration..." appear on the
   console).
   2. After logging in on the guest, I am unable to access the internet.
   There's no DNS service (the /etc/resolv.conf file is effectively empty),
   and when I try to ping a public IP address I get an error message (connect:
   Network is unreachable).

Here's the full output of the showvminfo command (vboxmanage showvminfo
--details ubuntu):

Name:            ubuntu
Groups:          /
Guest OS:        Ubuntu (64 bit)
UUID:            873a5666-7402-4232-a946-6d9518a5cec0
Config file:     /Users/username/VirtualBox VMs/ubuntu/ubuntu.vbox
Snapshot folder: /Users/username/VirtualBox VMs/ubuntu/Snapshots
Log folder:      /Users/username/VirtualBox VMs/ubuntu/Logs
Hardware UUID:   873a5666-7402-4232-a946-6d9518a5cec0
Memory size:     512MB
Page Fusion:     off
VRAM size:       32MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  1
PAE:             on
Long Mode:       on
Synthetic CPU:   off
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): HardDisk
Boot Device (2): DVD
Boot Device (3): Not Assigned
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          on
Time offset:     0ms
RTC:             local time
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     on
VT-x VPID:       on
VT-x unr. exec.: on
State:           running (since 2015-04-13T05:03:12.980000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration:
Autostart Enabled: off
Autostart Delay: 0
Default Frontend:
Storage Controller Name (0):            IDE Controller
Storage Controller Type (0):            PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  2
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
IDE Controller (0, 0): /Users/username/VirtualBox
VMs/packer-virtualbox-iso-1428331343/packer-virtualbox-iso-1428331343-disk1_1.vmdk
(UUID: 2ab5a151-ca59-404e-bd40-404b44e859a3)
NIC 1:           MAC: 080027D9193C, Attachment: NAT, Cable connected: on,
Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot
priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings:  MTU: 0, Socket (send: 64, receive: 64), TCP Window
(send:64, receive: 64)
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           disabled
Clipboard Mode:  disabled
Drag'n'drop Mode: disabled
Session type:    GUI/Qt
Video mode:      640x480x32 at 0,0
VRDE:            disabled
USB:             disabled
EHCI:            disabled

USB Device Filters:

<none>

Available remote USB devices:

<none>

Currently Attached USB Devices:

<none>

Bandwidth groups:  <none>

Shared folders:  <none>

VRDE Connection:    not active
Clients so far:     0

Video capturing:    not active
Capture screens:    0
Capture file:       /Users/username/VirtualBox VMs/ubuntu/ubuntu.webm
Capture dimensions: 1024x768
Capture rate:       512 kbps
Capture FPS:        25

Guest:

Configured memory balloon size:      0 MB
OS type:                             Ubuntu_64
Additions run level:                 0

Guest Facilities:

No active facilities.

Any advice would be greatly appreciated!

Cheers,

Itamar
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe:  
mailto:[email protected]?subject=unsubscribe

Reply via email to