[Container-tools] Modifying VARIANT in /etc/os-release has side effects

Dusty Mabe dusty at dustymabe.com
Thu Mar 3 18:31:06 UTC 2016


The vagrant-service-manager plugin is modifying the "flavor" guest capability [1].

This has side effects on code (example at [2]) that assumes it is going to get back
the that is returned from the actual flavor cap in vagrant core code [3].

This is why hardy had such a hard time getting sshfs installed on his
machine earlier today. The vagrant-sshfs plugin wasn't able to
properly detect things and it didn't install sshfs for him.

Opening up an issue on the plugin at [4]

Dusty

[1] https://github.com/projectatomic/vagrant-service-manager/blob/master/plugins/guests/redhat/cap/flavor.rb
[2] https://github.com/dustymabe/vagrant-sshfs/blob/master/lib/vagrant-sshfs/cap/redhat/sshfs_client.rb#L26
[3] https://github.com/mitchellh/vagrant/blob/master/plugins/guests/redhat/cap/flavor.rb
[4] https://github.com/projectatomic/vagrant-service-manager/issues/91




More information about the Container-tools mailing list