Public | Automated Build

Last pushed: a month ago
Short Description
A Debian latest based Docker container running open-vm-tools only on VMware hosted CoreOS instances
Full Description

docker-open-vm-tools

A Debian latest based Docker container running open-vm-tools only on VMware hosted CoreOS instances. We PXE boot our CoreOS systems - the PXE image does not contain the open-vm-tools.

Reboot, Poweroff, etc are working as systemctl within the container talks to systemd on the docker host.

The vSphere client is aware of the used IPs and DNS names due to the --net=host parameter.

From cloud-config

#cloud-config

coreos:
  units:
    - name: open-vm-tools.service
      command: start
      content: |
        [Unit]
        Description=Service for virtual machines hosted on VMware
        Documentation=http://open-vm-tools.sourceforge.net/about.php
        ConditionVirtualization=vmware
        [Service]
        Restart=always
        ExecStart=/usr/bin/docker run --rm --net=host -v /run/systemd:/run/systemd --name open-vm-tools godmodelabs/open-vm-tools
        ExecStop=-/usr/bin/docker stop open-vm-tools
Docker Pull Command
Owner
godmodelabs

Comments (3)
stumbaumr
a month ago

Just took a manual snapshot with "Quiesce guest file system" ticked on - there was no error reported in vSphere.
What Error did you get?

stumbaumr
a month ago

Thanks! Sorry for the late reply.
We haven't tried to manually quiescing the VMs yet. So no idea what is missing.

bpawlak
8 months ago

Quiescing doesn't seem to work. Have you tried it on your setup?
Otherwise awesome work!