From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: cloud-init solution Date: Wed, 09 Jan 2019 13:09:46 +0000 Message-ID: <59C60075-3AA8-4A45-AB7B-7D6C0E15CE12@ipfire.org> In-Reply-To: <393737096.5367.1547028039343.JavaMail.zimbra@li.nux.ro> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2660400060872968020==" List-Id: --===============2660400060872968020== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, Thanks for writing. I do not think that integrating cloud-init is a viable option because it is d= esigned for simple systems that just need to get an IP address and some basic= configuration. The firewall scenario has a lot more complex configuration an= d that cannot be (I think) represented by cloud-init. We have a custom set of scripts to import basic network configuration from AW= S: https://aws.amazon.com/marketplace/pp/B07HYRD4FX There is a script that detects at boot time if the system is running on AWS: https://git.ipfire.org/?p=3Dipfire-2.x.git;a=3Dblob;f=3Dsrc/initscripts/sys= tem/aws;h=3D2a556801ac8ca5854798096b31b0fa65277a7cf3;hb=3DHEAD Then, a configuration script is called that connects to the meta-data service= and imports what we need (networking, SSH, etc.): https://git.ipfire.org/?p=3Dipfire-2.x.git;a=3Dblob;f=3Dsrc/initscripts/hel= per/aws-setup;h=3Daf6d24c8b4dc54f1a5577b32efc99523f34e31f5;hb=3DHEAD This can in theory be used with other platforms, yes. I guess there is some s= ort of a common standard on the meta-data. -Michael > On 9 Jan 2019, at 10:00, Nux! wrote: >=20 > Hello, >=20 > We are thinking to use Ipfire on a on-premise cloud plaform, these are well= supported on Linux by the cloud-init package which can work with all sorts o= f metadata providers. > I understand from twitter that there is something similar in Ipfire which w= orks on AWS. Can anyone shed some more light on this component and perhaps ho= w it could be used with other platforms? >=20 > Regards, > Lucian >=20 > -- > Sent from the Delta quadrant using Borg technology! >=20 > Nux! > www.nux.ro --===============2660400060872968020==--