Automatically install open-vm-tools when installer running in a VMware VM

Bug #1790427 reported by vmware-gos-Yuhua on 2018-09-03
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
Undecided
Unassigned
open-vm-tools (Debian)
New
Unknown
open-vm-tools (Ubuntu)
Undecided
Unassigned
subiquity (Ubuntu)
Undecided
Unassigned

Bug Description

It is valuable for open-vm-tools to install automatically for both desktop and server if their OS installer detects that it is running on a VMware VM.

This may require first work with the Debian community to get this implemented for Debian since Ubuntu is based on Debian.
[Debian bug#782287]
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782287

vmware-gos-Yuhua (yhzou) wrote :

Currently open-vm-tools is installed automatically by default when install guestOS ubuntu server in ESXi. But It's not installed automatically when install guestOS ubuntu desktop in ESXi and we need to install it with command "sudo apt-get install open-vm-tools"

I linked the Debian bug here in the bug taskss.

I supplied a rewritten simplified approach in [1] and would hope for feedback and testing on the Debian bug.

On the Ubuntu side we are well past 18.10 feature freeze, so we are not in a hurry.

[1]: https://salsa.debian.org/installer-team/hw-detect/merge_requests/2

Changed in open-vm-tools (Ubuntu):
status: New → Confirmed
Changed in open-vm-tools (Debian):
status: Unknown → New
Joshua Powers (powersj) wrote :

+subiquity task

Joshua Powers (powersj) wrote :

@yhzou

>But It's not installed automatically when install guestOS ubuntu desktop in ESXi

1) Can you please link to the Ubuntu Desktop ISO you are using?
2) Can you confirm this is working with the Ubuntu Server and Ubuntu Server live ISOs?

Joshua Powers (powersj) wrote :

From latest sync notes:

Currently open-vm-tools is installed automatically when install Ubuntu Live Server image (cosmic-live-server-amd64.iso) and ubuntu cloud image(cosmic-server-cloudimg-amd64.ova) in ESXi and the open-vm-tools works well.

But for server image (ubuntu-18.10-server-amd64.iso) and desktop image (ubuntu-18.10-desktop-amd64.iso), open-vm-tools is not installed by default and we need to install it manually by using command "apt install open-vm-tools"

---

This would indicate that this is only occurring on the debian-installer (d-i) based ISOs and not the cloud image (OVA) or live-iso (subiquity).

Can you please confirm this?

Changed in open-vm-tools (Ubuntu):
status: Confirmed → Incomplete
Changed in subiquity (Ubuntu):
status: New → Incomplete
vmware-gos-Yuhua (yhzou) wrote :

>But It's not installed automatically when install guestOS ubuntu desktop in ESXi

> 1) Can you please link to the Ubuntu Desktop ISO you are using?
> 2) Can you confirm this is working with the Ubuntu Server and Ubuntu Server live ISOs?

  1) Ubuntu Desktop ISO: ubuntu-18.10-desktop-amd64.iso and ubuntu-18.04-desktop-amd64.iso

  2) For Ubuntu Server live ISOs(cosmic-live-server-amd64.iso),open-vm-tools is installed automatically when install guestOS. But for Ubuntu Server(ubuntu-18.10-server-amd64.iso), it's not.

vmware-gos-Yuhua (yhzou) wrote :

> From latest sync notes:

> Currently open-vm-tools is installed automatically when install Ubuntu Live Server image
  (cosmic-live-server-amd64.iso) and ubuntu cloud image(cosmic-server-cloudimg-amd64.ova) in ESXi
  and the open-vm-tools works well.

  But for server image (ubuntu-18.10-server-amd64.iso) and desktop image (ubuntu-18.10-desktop-
  amd64.iso), open-vm-tools is not installed by default and we need to install it manually by
  using command "apt install open-vm-tools"

  ---

> Can you please confirm this?

  Yes. I confirm this.

@Josh hearing the above confirmed you might find someone in foundations who would consider my MP at least for our branch of D-I?

Joshua Powers (powersj) wrote :

I've marked the subiquity task as invalid given the updated information and added the debian-installer task

Changed in subiquity (Ubuntu):
status: Incomplete → Invalid
Will Cooke (willcooke) wrote :

Desktop would be firmly in favour of adding this feature to the Ubiquity based installer. We've had a look and other than seeding open-vm-tools and adding the change to d-i, everything else should just work.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.