Home Wiki > openSUSE:WebYaST Appliance
Sign up | Login

openSUSE:WebYaST Appliance

tagline: From openSUSE

WebYaST in an Appliance

WebYaST has also been designed for using in an virtual appliance.

SUSE Studio builds virtual appliances for VMDK/VMware, Xen and KVM and other formats. You can easily add WebYaST to your appliance there. When you create your appliance, just go to the 'Configuration' page, select 'Appliance' and check the 'Enable WebYaST' checkbox there. After the build you will have an appliance with a configured, running WebYaST service after the first boot.

See also WebYaST in SUSE Studio for more information.

Running Virtual Appliances

Appliances can be run with different utilities:

Troubleshooting in Virtual Appliances

How to boot VDMK(Virtual Machine Disk) in VirtualBox

If you want to boot the VMware VMDK(Virtual Machine Disk) image, created with VMware, you have to change the Hard Disk settings in your VirtualBox

  • select the virtual machine in VirtualBox
  • go to the Settings/Hard Disks select SCSI (Lsilogic) and check the "Enable Addition Controller"
  • add the vmware vdmk file as hard disk attachment and select SCSI Port 0 instead of IDE Primary Master
  • save the changes and boot machine

Network Bridge

Network bridge allows virtual machines to access the host’s physical network.

VMware player

  • select the virtual machine in VMware player
  • go to the VM/Settings/Network Adapter/Network Connection and check the menu item "Bridget: Connected directly to the physical network"
  • save changes

Error: Could not open /dev/vmmon: No such file or directory.


  modprobe vmmon

Error: Failed to open device "/dev/vmci": No such file or directory Please make sure that the kernel module 'vmci' is loaded.


  modprobe vmci

Error: Bridged networking on /dev/vmnet0 failed


  vmware-networks --stop
  vmware-networks --start

Virtual Box

  • select the virtual machine in VirtualBox
  • go to the Settings/Network select "Bridged Adapter" in Attached to and Name "eth0"
  • save changes and boot virtual machine

If you get an error like yastwc "WebYaST could not determine the IP address for eth0", do following steps:

ip l s eth0 down
ip l s eth0 up
# better to use ifdown eth0; ifup eth0;?
dhcpd eth0
rcyastwc restart


To bridge the network in Qemu you'll need to install the brctl, tunctl packages.

tunctl -t tap0 -u <username>
ip l s eth0 down
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 tap0
ip l s eth0 up
ip l s tap0 up
ip l s br0 up
dhcpcd br0
  • Next you'll need to create the /etc/qemu-ifup script
echo "Executing /etc/qemu-ifup"
echo "Bringing up $1 for bridged mode..."
sudo /sbin/ip addr flush dev "$1"
sudo /sbin/ip link set dev "$1" up promisc on
echo "Adding $1 to br0..."
sudo /sbin/brctl addif br0" $1"
sleep 2
  • Then make /etc/qemu-ifup script executable for all users
 chmod 755 /etc/qemu-ifup
  • Running QEMU
qemu-kvm -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no <path_to_vmdk>

If you get this error "/etc/qemu-ifdown: could not launch network script", then

sudo chmod 666 /dev/net/tun
  • Static IP adress

If you want to have static IP adress, then use

-net nic,vlan=0,model=rtl8139,macaddr=52:54:00:01:05:01

instead of

-net nic,vlan=0