Commit graph

35 commits

Author SHA1 Message Date
3290c27210 If root, don't overwrite doas.conf 2018-08-15 13:48:51 +02:00
20e2f78f83 Add -U option to overwrite the user 2018-08-15 12:27:19 +02:00
91eb82f902 Make the group egress optional (dynamic) in the initial pf rule 2018-08-15 11:46:21 +02:00
333f7ac6d7 Write network configuration files 2018-08-14 09:55:17 +02:00
d9899d488a Add initial support for OpenNebula contextualization.
Thanks to datacenterlight.ch by ungleich glarus AG for providing
access to their OpenNebula-based cloud.
2018-08-14 00:34:25 +02:00
ec87db177d Revert LDADD to -ltls -lssl -lcrypto as just -ltls breaks static linking. 2018-05-16 12:28:49 +02:00
8c4f6a384b /var/run is cleared on boot, store user-data in /etc instead 2018-05-08 12:24:32 +02:00
5de42d6464 user-data is not always base64-encoded. 2018-05-08 12:08:58 +02:00
Reyk Floeter
f48b2bc2b9 Make the public key optional but print a warning 2018-05-08 10:03:38 +02:00
Reyk Floeter
155d216845 Add support for user-data scripts 2018-05-08 09:51:32 +02:00
Reyk Floeter
73f066699f Only link to libtls (which will pull libssl/crypto by itself) 2018-05-08 09:48:59 +02:00
Reyk Floeter
cb7edf897e Fix return value on error 2018-05-08 09:48:30 +02:00
Reyk Floeter
4953fa418c Rename label 2018-05-08 09:48:08 +02:00
Reyk Floeter
9ffe04f62f Fall back to meta-data/public-keys if meta-data/public-keys/0/openssh-key is not available. 2018-05-07 18:10:27 +02:00
Reyk Floeter
eaa8b96541 Add missing json files 2018-05-07 12:23:02 +02:00
Reyk Floeter
ee473a4bd6 Try to get endpoint from "dhcp-server-identifier" 2018-01-10 15:10:58 +01:00
Reyk Floeter
ac66f160e0 Support for openstack meta_data.json, connect timeout, other fixes. 2018-01-10 14:18:52 +01:00
Reyk Floeter
eb9d5b440c Configure Azure -n, but don't apply confiugration 2017-08-14 17:59:35 +02:00
Reyk Floeter
cdf3317965 Print success in xml_parse() debug message 2017-08-14 13:52:00 +02:00
Reyk Floeter
63d46cd6f1 Use -n to 'rescue' ovf-env.xml file and exit 2017-08-14 13:40:12 +02:00
Reyk Floeter
6f6e63f99b Disable boot delay on AWS/Azure, set doas to user not wheel, set .forward. 2017-07-04 18:24:39 +02:00
Reyk Floeter
462c7e4c31 manpath is /usr/local/man not /usr/local/share/man 2017-07-03 16:56:39 +02:00
Reyk Floeter
1f7ad6d796 Create MANDIR in /usr/local 2017-07-03 16:52:50 +02:00
Reyk Floeter
b3bc491677 Document /var/db/cloud-instance 2017-06-30 21:48:08 +02:00
Reyk Floeter
0ba8b74dcd Azure calls userdata CustomData. Get the variable, but we don't use it yet. 2017-06-30 21:36:55 +02:00
Reyk Floeter
29193e306f Sanitize strings that we get from the cloud backends 2017-06-30 21:30:05 +02:00
Reyk Floeter
5beee43d49 Fix previous 2017-06-30 19:29:42 +02:00
Reyk Floeter
2978fbdefb Add support for @reyk/meta-data username extension 2017-06-30 18:29:23 +02:00
Anthony J. Bentley
86e87dcf0a Fix some typos in the manual. 2017-06-30 02:44:47 -06:00
Reyk Floeter
99cbc8cc07 Add simple cloud-agent.8 manpage 2017-06-29 14:32:29 +02:00
Reyk Floeter
0bd6427d39 Fallback to saved ovf-env.xml file 2017-06-29 14:06:58 +02:00
Reyk Floeter
01e02ae0aa Replace plaintext password in ovf-env.xml with the hash. 2017-06-29 14:00:38 +02:00
Reyk Floeter
db607f0e55 Fix validation of the previous cloud-instance 2017-06-29 13:34:19 +02:00
Reyk Floeter
2b1181c2ca Some small fixes found by @jonathangray with cppcheck/scan-build. 2017-06-29 12:48:15 +02:00
Reyk Floeter
1c7148f25b Initial commit 2017-06-29 11:40:48 +02:00