OpenNebula Windows VM Contextualization
This addon provides contextualization package for the Windows guest virtual machines running in the OpenNebula cloud. Based on the provided contextualization parameters, the packages prepare the networking in the running guest virt. machine, set passwords, run custom start scripts, and many others.
Latest versions can be downloaded from the release page. Check the supported OpenNebula versions for each release.
Build own package
On RHEL (CentOS) and Fedora systems, the required binary
rhsrvany.exe is distributed as part
of the package
virt-v2v and placed into
Please copy the EXE into your local repository clone before creating the MSI.
generate.sh builds the MSI package. It's a wrapper around
wixl command from
msitools. It reads the
package.wxs, a package
definition in the WiX-like XML format. Package name or version can be
overridden by env. variables
VERSION. For example:
$ TARGET=msi ./generate.sh $ NAME=one-context TARGET=msi ./generate.sh $ VERSION=1.0.0 TARGET=msi ./generate.sh
New package is created as
one-context-1.0.0.msi in the
Please ignore following assertion on package build, which is caused
by skipping the attribute
Start in tag
ServiceControl. The parameter
is optional in WiX specification, but the
msitools still counts with it.
Despite that, the package is built.
(wixl:22764): wixl-CRITICAL **: wixl_wix_builder_install_mode_to_event: assertion 'modeString != NULL' failed
Copyright 2002-2019, OpenNebula Project, OpenNebula Systems (formerly C12G Labs)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.