Hi Mus,

I think you're missing one major problem that makes it hard to use several 
different versions of CDK at the same time - our vagrant plugins.
AFAIK, it's not possible to have multiple versions installed at the same time 
and for each CDK version you should typically use exactly the versions of the 
plugins that came with the cdk.zip.

Maybe somebody knows of a workaround to this? Perhaps you could use a custom 
VAGRANT_HOME (instead of the default ~/.vagrant.d/ ) for each cdk installation? 
But it definitely doesn't seem like something convenient.


> On 16. 9. 2016, at 16:14, Mustafa Musaji <mmus...@redhat.com> wrote:
> I tried to install CDK 2.1 with 2.0 still on my machine as I didn't want to 
> remove it.
> It turns out it's not that hard but no documentation around this that I could 
> find. The installation guide assumes it's a clean install.
> Can we add a section to the docs or adjust the installer so it's easier to do 
> this and not remove the previous installed version? Furthermore, is there any 
> way to actually upgrade and is this something we are thinking of doing?
> Steps that need to be added change the Vagrant file in the CDK directory
>     config.vm.box = "cdkv2.1"
> Change the box name to the same as above
>     vagrant box add --name cdkv2.1 
> ~/Downloads/rhel-cdk-kubernetes-7.2*.x86_64.vagrant-libvirt.box
> Under $HOME/.vagrant/boxes/cdkv2.1/0/libvirt edit the Vagrant file and add 
> the line 
>    libvirt.random_hostname = 'true'
> To create a domain name with extra information on the end to prevent hostname 
> conflicts [1] i.e. with the CDK 2.0 install that uses "rhel-ose-default" and 
> if you already have another installed it doesn't work. 
> Please point me to the JIRA instance if this is easier discussed and handled 
> via JIRA. If there's a better way of doing this also please let me know. I am 
> no expert when it comes to vagrant or libvirt.
> Thanks
> Mus
> [1] https://github.com/vagrant-libvirt/vagrant-libvirt#provider-options 
> <https://github.com/vagrant-libvirt/vagrant-libvirt#provider-options>_______________________________________________
> Devtools mailing list
> Devtools@redhat.com
> https://www.redhat.com/mailman/listinfo/devtools

Devtools mailing list

Reply via email to