Thanks Marat.

I tested my fix using packer and building fresh OEL6.7 and OEL7.2.  Those 
images deploy nicely with the agent now.

The Ubuntu 15.04 was my fault.  I was attempting to build of of a 
`core-edge` Ubuntu 15.04 and it did not use apt-get.  Instead had something 
called snappy.  

I switched to proper images and it now works with 15.04, 15.10 and the new 
16.04-beta.

On Thursday, March 3, 2016 at 5:38:20 AM UTC-7, Marat Komarov wrote:
>
> Jay,
>
> Thank you for provided fix. We'll apply it into upstream.
>
> As for Ubuntu 15.04 it should work. Please post the error you've got, 
> and /etc/os-release contents
>
> Regards,
> Marat
>
> On Wednesday, March 2, 2016 at 9:51:58 PM UTC+2, Jay Farschman wrote:
>>
>> So, it looks like Oracle Linux now returns a result when we try to detect 
>> the $OS_NAME by reading `cat /etc/os-release`.  This seems true for OEL6.7 
>> and 7.2, but I have not tested with any other versions.  Because of this 
>> I'd recommend these changes
>>
>>
>> https://github.com/jfarschman/install_scalarizr.sh/commit/184542a618c602d5dd1ad880a3a042cebc114035
>>
>> This will work with the assumption that the old method is sometimes 
>> valid.  Sorry I made my own repo.  I can remove it if you think it will 
>> cause confusion, but I did not find the original repo for the installer.
>>
>> On Wednesday, March 2, 2016 at 11:48:11 AM UTC-7, Jay Farschman wrote:
>>>
>>>
>>> I setup a lovely set of Packer script for building out EC2 AMIs with the 
>>> scalr agent added.  They work for the most part, but my Oracle builds fail:
>>>
>>> # PLATFORM=ec2 && curl -L 
>>> https://my.scalr.net/public/linux/latest/$PLATFORM/install_scalarizr.sh 
>>> | sudo bash
>>>   % Total    % Received % Xferd  Average Speed   Time    Time     Time 
>>>  Current
>>>                                  Dload  Upload   Total   Spent    Left 
>>>  Speed
>>> 102  3376  102  3376    0     0   7623      0 --:--:-- --:--:-- --:--:-- 
>>> 30972
>>> *Oracle Linux Server 6.7 is not supported.*
>>>
>>>
>>> Looks like my Ubuntu 15.04 fails too.  I'm going to work on modifying 
>>> these scripts. but I would appreciate it if someone can point me to why 
>>> they are not supported.  
>>>
>>> Thanks.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to