Re: vmd + httpd + meta-data
On the Github page, there is a typo in the cloudstack link. It is " http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/latest/virtual%5C_machines.html#user-data-and-meta-data; but should be " http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/latest/virtual_machines.html#user-data-and-meta-data;. It's correct in the man page... On Wed, Mar 1, 2017 at 1:04 PM, Reyk Floeterwrote: > On Wed, Mar 01, 2017 at 09:29:30AM +0100, Reyk Floeter wrote: > > On Mon, Feb 27, 2017 at 10:37:04PM +0100, Kristaps Dzonsons wrote: > > > > I wrote this little tool for vmd that is not intended for the tree, > > > > but will eventually go into ports (it uses kcgi which is not in > base). > > > > > > Have you thought of writing this in a secure language like Rust or > > > Swift? Writing cgi stuff in C seems just asking for trouble. > > > > > > > OK, I was trying all day yesterday to find a good answer - maybe > > another joke - but I couldn't make one up. Kudos, Kristaps. > > > > But I forgot to mention: > > I got the all of it from https://learnbchs.org/ > > "BCHS (pronounced beaches) is for real development. It's a > hipster-free, open source software stack for web applications. To > prepare a BCHS environment, install OpenBSD. Then get started." > > ... > > "Is BCHS a joke? No. PHP is a joke. node.js is a joke. Software > development is full of jokes. This is not one of them." > > I fully agree with this except of the "hipster-free" part: writing web > apps in C is cool and totally "retro". > > Reyk > >
Re: vmd + httpd + meta-data
On Wed, Mar 01, 2017 at 09:29:30AM +0100, Reyk Floeter wrote: > On Mon, Feb 27, 2017 at 10:37:04PM +0100, Kristaps Dzonsons wrote: > > > I wrote this little tool for vmd that is not intended for the tree, > > > but will eventually go into ports (it uses kcgi which is not in base). > > > > Have you thought of writing this in a secure language like Rust or > > Swift? Writing cgi stuff in C seems just asking for trouble. > > > > OK, I was trying all day yesterday to find a good answer - maybe > another joke - but I couldn't make one up. Kudos, Kristaps. > But I forgot to mention: I got the all of it from https://learnbchs.org/ "BCHS (pronounced beaches) is for real development. It's a hipster-free, open source software stack for web applications. To prepare a BCHS environment, install OpenBSD. Then get started." ... "Is BCHS a joke? No. PHP is a joke. node.js is a joke. Software development is full of jokes. This is not one of them." I fully agree with this except of the "hipster-free" part: writing web apps in C is cool and totally "retro". Reyk
Re: vmd + httpd + meta-data
On Mon, Feb 27, 2017 at 10:37:04PM +0100, Kristaps Dzonsons wrote: > > I wrote this little tool for vmd that is not intended for the tree, > > but will eventually go into ports (it uses kcgi which is not in base). > > Have you thought of writing this in a secure language like Rust or > Swift? Writing cgi stuff in C seems just asking for trouble. > OK, I was trying all day yesterday to find a good answer - maybe another joke - but I couldn't make one up. Kudos, Kristaps. Reyk
Re: vmd + httpd + meta-data
> I wrote this little tool for vmd that is not intended for the tree, > but will eventually go into ports (it uses kcgi which is not in base). Have you thought of writing this in a secure language like Rust or Swift? Writing cgi stuff in C seems just asking for trouble.
vmd + httpd + meta-data
Hi, I wrote this little tool for vmd that is not intended for the tree, but will eventually go into ports (it uses kcgi which is not in base). Summary: It allows to configure VMs on vmd in a cloud-init compatible way. I basically use it to test images that go out into the "real public cloud" later, but it is also useful for vmd VMs in general. I'd welcome feedback on code and manpage. https://github.com/reyk/meta-data https://raw.githubusercontent.com/reyk/meta-data/master/meta-data.8 Please note that the find_vm() logic will be changed (not doing it on the bridge interface anymore) once I got the chance to add another imsg to query vmd over its socket directly. I first have to finish some other pending vmd diffs for it ... Reyk