Thanks, I've applied your contrail-vnc.git diff and pushed it out. Feel
free to use fork/pull model and bring any pull requests to my attention.

One observation, your second tweak [2] has added zlib-devel to centos7
installs. Should it also be added to this line in README.html?

yum install -y bzip2 boost-devel tbb-devel libcurl-devel libxml2-devel

On Mar 19, 2015, at 1:05 PM, Flavio <[email protected]> wrote:

> Hello Klash,
> 
> I just made two tweaks [1][2] to the provisioning of the vm that we
> probably should
> reflect in Juniper/contrail-vnc.git as well.
> 
> I made the change to gh-pages branch and attached in this message.
> 
> Best,
> 
> -- flavio
> 
> [1]: 
> https://github.com/flavio-fernandes/opencontrail-dev-centos7/commit/1dc41d4896cf11a1cfb5b5d3d022ecd287ca4ef6
> 
> [2]: 
> https://github.com/flavio-fernandes/opencontrail-dev-centos7/commit/b748f3f6616f4dd174f5dbd7897e8e6c5c479297
> 
> ====
> 
> commit 3006184872b5c273b7567b4b4be214ab98f6d571
> Author: Flavio Fernandes <[email protected]>
> Date:   Thu Mar 19 15:36:46 2015 -0400
> 
>    Use epel-release instead of url. do not disable other repos when using 
> epel.
> 
> diff --git a/README.html b/README.html
> index d2cfec7..43d367c 100644
> --- a/README.html
> +++ b/README.html
> @@ -172,13 +172,13 @@
>     epel repository.
>     To install access to the epel repository, run these two commands:</p>
>     <div class="well">
> -      yum install -y
> https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm<br>
> +      yum install -y epel-release<br>
>       sed -i -e 's/enabled=1/enabled=0/' /etc/yum.repos.d/epel.repo
>     </div>
>     <p>After installing and enabling epel access, packages (6)
>     through (9) can be installed:
>     <div class="well">
> -      yum install -y --disablerepo="*" --enablerepo="epel" scons
> protobuf protobuf-devel protobuf-compiler
> +      yum install -y --enablerepo="epel" scons protobuf
> protobuf-devel protobuf-compiler
>     </div>
>     </p>
>     <p>
> 
> =======
> 
> On Fri, Dec 5, 2014 at 4:58 PM, Karl Klashinsky <[email protected]> wrote:
>> On Dec 3, 2014, at 4:41 PM, Flavio <[email protected]> wrote:
>> 
>>> On Tue, Dec 2, 2014 at 5:19 PM, Karl Klashinsky <[email protected]> wrote:
>>>> Inline:
>>>> 
>>>> On Dec 1, 2014, at 6:59 PM, Flavio <[email protected]> wrote:
>>>> 
>>>>> Hello,
>>>>> 
>>>>> I'm trying to build opencontrail using Centos 7.
>>>>> 
>>>>> While following the build steps in
>>>>> http://juniper.github.io/contrail-vnc/README.html,
>>>> 
>>>> As per my reply to your prior message, I've updated my fork of above:
>>>> https://github.com/klash/contrail-vnc
>>>> 
>>>> You'll need to look at branch 'gh-pages' to see my pages. I've added a new
>>>> section 4.1.1 specifically for CentOS 7.
>>> 
>>> Awesome. It looks good. Since you made 4.1.1 for centos 7, maybe we
>>> should make a 4.1.0
>>> for Centos 6.6? Or make Centos 6.6 using 4.1.1 and Centos 7 become
>>> 4.1.2. Other than that,
>>> it is all good.
>> 
>> Added section 4.1.1 for CentOS 6.6, the CentOS 7 one became 4.1.2.
>> 
>> I've pushed that small change to my fork on github.
>> 
>>>> If you think that works, I'll submit the pull request so that the updated
>>>> page will become the live README.html
>>>> 
>>> 
>>> good deal! ;)
>> 
>> Pull request now sent, so my updates should show up as the 'live' page in a 
>> while.
>> 
>>>> More comments below...
>>>> 
>>>>> I hit the following 2 caveats:
>>>>> 
>>>>> 1) Besides the 2 extra packages that are needed in 6.6:
>>>>>  libtool kernel-devel
>>>>> 
>>>>> we also need to install the following packages:
>>>>>  bzip2 boost-devel tbb-devel libcurl-devel libxml2-devel
>>>>> 
>>>>> 2) The packages
>>>>>  scons protobuf protobuf-devel protobuf-compiler
>>>>> 
>>>>> are not in the default centos 7 repository. However, you can grab them
>>>>> from epel. So, a simple way of getting these are by installing
>>>>> access to the epel repo as shown below:
>>>>>  ## install epel repo, but keep it disabled unless explicitly enabled
>>>>>  sudo yum install -y
>>>>> https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
>>>>>  sudo sed -i -e 's/enabled=1/enabled=0/' /etc/yum.repos.d/epel.repo
>>>>>  sudo yum install -y --disablerepo="*" --enablerepo="epel" scons
>>>>> protobuf protobuf-devel protobuf-compiler
>>>> 
>>>> I'm not a CentOS user, but it seems odd to me that relatively common 
>>>> utilities
>>>> require such efforts. Seeing that CentOS 7 is not that old, is it expected
>>>> that these utilities might make their way into the standard CentOS 7 
>>>> repositories?
>>> 
>>> That is a good question. I have no insight on that, but I may know who 
>>> would. :)
>>> In other words, let me get back to you on that; or have a better person 
>>> answer
>>> to this.
>> 
>> Thanks for that, and also...
>> 
>>>>> To make it a bit simpler, I bundled all the provisioning steps for
>>>>> Centos 7 in the following
>>>>> shell script:
>>>>>  
>>>>> https://github.com/flavio-fernandes/opencontrail-dev-centos7/blob/master/provision.sh
>>>> 
>>>> We are currently working on setup/provisioning scripts for various 
>>>> flavours of
>>>> Linux. Do you mind if I plagiarize the above script for our purposes?
>>>> 
>>> 
>>> No problem at all ! There is nothing fancy in there, but if you think
>>> it is useful, you can
>>> plagiarize it all. ;)
>> 
>> ... for this. Fine that it isn't fancy, our other ones are equally 
>> non-fancy. But if
>> they work, it saves people from stumbling around and trying to set up a linux
>> box by stumbling through hints and suggestions.
>> 
>> --
>> Klash
>> 
> <change.patch>

--
Klash


_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to