<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 09/16/2016 07:44 PM, Mustafa Musaji
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAENJL8p77-6xG7uUkUMT82AtrJMVUvKSLvQ6OaDXwfUMxWB_8Q@mail.gmail.com"
      type="cite">
      <div dir="ltr"><font face="arial, helvetica, sans-serif">I tried
          to install CDK 2.1 with 2.0 still on my machine as I didn't
          want to remove it.<br>
          <br>
          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.</font>
        <div><font face="arial, helvetica, sans-serif"><br>
          </font></div>
        <div><font face="arial, helvetica, sans-serif">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?</font></div>
        <div><font face="arial, helvetica, sans-serif"><br>
          </font></div>
        <div><font face="arial, helvetica, sans-serif">Steps that need
            to be added change the Vagrant file in the CDK directory</font></div>
        <div>
          <div><font face="arial, helvetica, sans-serif"><br>
            </font></div>
          <div><font face="arial, helvetica, sans-serif"> 
                config.vm.box = "cdkv2.1"<br>
            </font></div>
          <div><font face="arial, helvetica, sans-serif"><br>
            </font></div>
          <div><font face="arial, helvetica, sans-serif">Change the box
              name to the same as above<br>
            </font></div>
          <div><font face="arial, helvetica, sans-serif"><br>
            </font></div>
          <font face="arial, helvetica, sans-serif">    vagrant box add
            --name <b>cdkv2.1</b>
            ~/Downloads/rhel-cdk-kubernetes-7.2*.x86_64.vagrant-libvirt.box</font></div>
        <div><font face="arial, helvetica, sans-serif"><br>
          </font></div>
        <div><font face="arial, helvetica, sans-serif">Under
            $HOME/.vagrant/boxes/cdkv2.1/0/libvirt edit the Vagrant file
            and add the line <br>
          </font></div>
        <div>
          <div><font face="arial, helvetica, sans-serif"><br>
            </font></div>
          <div><font face="arial, helvetica, sans-serif"> 
               libvirt.random_hostname = 'true'</font></div>
          <div><font face="arial, helvetica, sans-serif"><br>
            </font></div>
          <div><span style="color:rgb(51,51,51);line-height:24px"><font
                face="arial, helvetica, sans-serif">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. <br>
              </font></span></div>
        </div>
      </div>
    </blockquote>
    <br>
    <font face="arial, helvetica, sans-serif">Your observations are
      right. You can change of the directory name. At this point this
      use case is not documented. We should document this in CDK
      documentation.  I will open a Jira issue for this. Apart from the
      above points you have mentioned you also need to change the
      private IP in one of the Vagrantfile  to make it work. <br>
      <br>
      -Lala<br>
    </font>
    <blockquote
cite="mid:CAENJL8p77-6xG7uUkUMT82AtrJMVUvKSLvQ6OaDXwfUMxWB_8Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div><span style="color:rgb(51,51,51);line-height:24px"><font
                face="arial, helvetica, sans-serif"><br>
              </font></span></div>
          <div><font face="arial, helvetica, sans-serif"><span
                style="color:rgb(51,51,51);line-height:24px">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.</span><br>
            </font></div>
          <div><font face="arial, helvetica, sans-serif"><br>
            </font></div>
          <div><font face="arial, helvetica, sans-serif">Thanks</font></div>
          <div><font face="arial, helvetica, sans-serif">Mus</font></div>
          <div><font face="arial, helvetica, sans-serif"><br>
            </font></div>
          <div><font face="arial, helvetica, sans-serif">[1] <a
                moz-do-not-send="true"
href="https://github.com/vagrant-libvirt/vagrant-libvirt#provider-options"
                target="_blank">https://github.com/vagrant-<wbr>libvirt/vagrant-libvirt#<wbr>provider-options</a></font></div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Devtools mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Devtools@redhat.com">Devtools@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/devtools">https://www.redhat.com/mailman/listinfo/devtools</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>