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

Development tree PR #313

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Development tree PR #313

wants to merge 3 commits into from

Conversation

ader1990
Copy link
Member

@ader1990 ader1990 commented Oct 4, 2019

No description provided.

@AppVeyorBot
Copy link

@AppVeyorBot
Copy link

If multiple images are generated using the same VirtIO ISO,
there is a chance that the imaginfg tool will dismount the VirtIO
ISO at a path in use, which triggers an error to apply the
drivers.

Copying the ISO to a backup file and mounting that ISO will
fix the issue.
Added option to install Qemu Guest Agents:
[custom]
install_qemu_ga=False

If set to True, it will download and install the Qemu Guest
Agents from Fedora website. The base path for the agents is
https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-qemu-ga/qemu-ga-win-100.0.0.0-3.el7ev/
The downloaded MSI will be chosen depending on the architecture of the
image, x86 or x64.

For example, on x64 images, the following MSI installer will be
downloaded and used:
https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-qemu-ga/qemu-ga-win-100.0.0.0-3.el7ev/qemu-ga-x64.msi
By default, the imaging tools will not install the Qemu Guest
Agents.

The MSI will install two services on the Windows image:

 * QEMU-GA
 * QEMU Guest Agent VSS Provider

The Qemu Guest Agents are useful if the Windows instance runs
on OpenStack (KVM hypervisor is required).

If the Windows instance is managed by OpenStack, runs on KVM and
QEMU-GA service is running, the user password can be changed using
the OpenStack Nova command:

  nova set-password <instance-id>

Requirement1: if the nova command fails, the instance might enter an error
state and you need to reset the instance state:

  nova reset-state <instance-id> --active

Requirement: the Glance image needs to modified in the following way,
BEFORE the instance gets created:

  glance image-update <image_id> --property hw_qemu_guest_agent=True \
  --property os_admin_user=Admin --property os_type=windows

`os_admin_user` is the user that will have the password changed.
Defaults to user 'root'. If 'os_type' property is set
to  'windows', the default user is 'Administrator'.
If you modify the required Glance image properties after you created
the instance, the nova set-password will not function.
@AppVeyorBot
Copy link

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

Successfully merging this pull request may close these issues.

2 participants