• Keir Fraser's avatar
    xl: init scripts (v2) · 2bf49da0
    Keir Fraser authored
    Now the init script is called xencommons and, as the name suggests, it
    is a common script between xl and xend because it is used to start
    xenconsoled, xenstored and xenbackendd and the initialization of these
    three daemons has been removed from xend.  The global
    xen_toolstack=xl/xend variable has been removed.  Regarding the
    network setup, I made the vif scripts follow the same pattern as the
    other scripts in xen-backend: a new script called vif-setup is
    executed unconditionally. vif-setup is going to do the right thing
    depending on the value of the environmental variable "script" (same
    technique used before), defaulting to vif-bridge.  In the common
    scenario the toolstack doesn't need to set the variable "script"
    because vif-bridge is going to be called anyway.  There is no global
    network script to setup the network bridges with xl, so if you are
    using xl without xend, you need to manually configure the bridges
    using your distro network setup, or, if you are lazy, you can just add
    something like:
    
    /etc/xen/scripts/network-bridge start
    
    to your rc.local.
    Signed-off-by: default avatarStefano Stabellini <stefano.stabellini@eu.citrix.com>
    2bf49da0
xend 2.72 KB