Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic

CoreOS on Lindoe?
Yes, it's essential  53%  [ 9 ]
No, who cares / make your own image  18%  [ 3 ]
Yyy what is CoreOS?  29%  [ 5 ]
Total votes : 17
Author Message
 Post subject: CoreOS on Linode
PostPosted: Tue Jul 08, 2014 4:53 am 
Offline
Newbie

Joined: Tue Jul 08, 2014 4:46 am
Posts: 4
Hi,

Does Linode has in the pipeline to introduce CoreOS to the list of available OSes?

Marcin


Top
   
 Post subject: Re: CoreOS on Linode
PostPosted: Sun Nov 23, 2014 8:52 am 
Offline
Newbie
User avatar

Joined: Sun Nov 23, 2014 8:46 am
Posts: 3
Website: http://m12.io
Location: Reading UK
Hi Everyone.

We have prepared a Linode API for deploying CoreOS on Linode in terminal. It's pretty easy to use and you can use your own cloud-config files or github account for deployments.

For more infor please contact me here or on github.

Link to API
https://github.com/million12/linodeapi

There is Docker image with our API and all required packages compiled already.
Link to Docker Image
https://registry.hub.docker.com/u/million12/linode-coreos-api/


Top
   
 Post subject: Re: CoreOS on Linode
PostPosted: Thu Dec 25, 2014 3:46 am 
Offline
Linode Staff

Joined: Mon Aug 18, 2014 2:43 pm
Posts: 35
Website: https://levlaz.org
Location: Absecon, NJ
polinux wrote:
Hi Everyone.

We have prepared a Linode API for deploying CoreOS on Linode in terminal. It's pretty easy to use and you can use your own cloud-config files or github account for deployments.

For more infor please contact me here or on github.

Link to API
https://github.com/million12/linodeapi

There is Docker image with our API and all required packages compiled already.
Link to Docker Image
https://registry.hub.docker.com/u/million12/linode-coreos-api/


This is awesome! Thanks for making this :)

_________________
Best,
Lev
https://levlaz.org


Top
   
 Post subject: Re: CoreOS on Linode
PostPosted: Sat Jan 31, 2015 4:59 pm 
Offline

Joined: Wed Sep 10, 2014 11:41 pm
Posts: 1
@polinux, thanks for sharing! I'm still working through the documentation to have understanding but this is what I gathered.

------------
Regarding:
https://github.com/million12/linodeapi

It seems as though the code you provide spins up a linode using Debian 7 distro, defaulting to 1GB plan and 2GB reserved disk space, creates new partitions for CoreOS(raw, default:2048M), Swap(swap, default:2048M), and an optional Extra(raw). The code then boots the linode with a Install Profile Configuration using "Latest 64 bit" kernel, once booted code sends the cloud-config.yaml data over an sshpass command. Things become a security concern at line 346 when the code calls an outside shell script (https://raw.githubusercontent.com/milli ... os_boot.sh). Looks like the shell script is nothing bad, updating and upgrading packages, installing and configures grub-legacy, gets coreos-install (https://raw.githubusercontent.com/coreo ... os-install), then installs the 'stable' verison of CoreOS on designated partition created earlier and updates the grub boot menu to boot on the CoreOS partition. Finally, code then shuts the linode down and boots with a CoreOS linode Profile Configuration. using "pv-grub-x86_64" kernel.
------------

Overall, I'm pleased with the coding as it is easy to read and lightweight. I think there could be some cleanup scripts such as removing unnecessary configuration profiles and disks after a successful CoreOS deploy. I should also remark that to my knowledge you follow the practices described by the Linode team in building Custom Builds very well. Can you elaborate why the call to the outside shell script (prepare_coreos_boot.sh) was implemented?


Top
   
 Post subject: Re: CoreOS on Linode
PostPosted: Fri Feb 06, 2015 5:26 am 
Offline
Newbie
User avatar

Joined: Sun Nov 23, 2014 8:46 am
Posts: 3
Website: http://m12.io
Location: Reading UK
Hi,
Quote:
Can you elaborate why the call to the outside shell script (prepare_coreos_boot.sh) was implemented?


As far as I remember I did that to be able to run whole process in one go rather the using sshpass for each command separately. And it allows to send 4 args and just run it through.

If you feel it could be done any other way please send us Pull Request and we will happily add this into the project.
Hope that answers it. :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group