Skip to content

rustic/open-vm-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

open-vm-tools

CircleCI Image Size License

Systemd Compatible Version of Open VM Tools

docker run -d --rm -v /run/systemd:/run/systemd:ro --net=host --pid=host rustic/open-vm-tools

For systems like Fedora CoreOS, this can be started via Systemd: /etc/systemd/system/open-vm-tools.service

[Unit]
Description=Open VM Tools
After=network-online.target
Wants=network-online.target
ConditionVirtualization=vmware

[Service]
TimeoutStartSec=0
ExecStartPre=-/bin/docker kill open-vm-tools
ExecStartPre=-/bin/docker rm open-vm-tools
ExecStartPre=/bin/docker pull rustic/open-vm-tools:latest
ExecStart=/bin/docker run \
  --detach \
  -v /run/systemd:/run/systemd:ro \
  --pid=host \
  --net=host \
  --name open-vm-tools rustic/open-vm-tools:latest
KillMode=none
Type=forking
[Install]
WantedBy=multi-user.target

Or added to the FCCT file so it is launched on VM creation.

systemd:
  units:
    - name: open-vm-tools.service
      enabled: true
      contents: |
        [Unit]
        Description=Open VM Tools
        After=network-online.target
        Wants=network-online.target
        ConditionVirtualization=vmware

        [Service]
        TimeoutStartSec=0
        ExecStartPre=-/bin/docker kill open-vm-tools
        ExecStartPre=-/bin/docker rm open-vm-tools
        ExecStartPre=/bin/docker pull rustic/open-vm-tools:latest
        ExecStart=/bin/docker run \
          --detach \
          -v /run/systemd:/run/systemd:ro \
          --pid=host \
          --net=host \
          --name open-vm-tools rustic/open-vm-tools:latest
        KillMode=none
        Type=forking
        [Install]
        WantedBy=multi-user.target

About

Systemd Compatible Version of Open VM Tools

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published