Commit graph

56 commits

Author SHA1 Message Date
c5c1705cd7 Add support for OpenNebula's userdata START_SCRIPT and START_SCRIPT_BASE64 2019-06-05 18:18:49 +02:00
99f8b2d2b0 The SSH_PUBLIC_KEY line in OpenNebula's context can span multiple lines 2019-06-04 15:15:24 +02:00
0509d8d619 Only grow, but never shrink the disk 2019-06-02 11:22:57 +02:00
bce8634bf5 re-mount updated filesystem 2019-06-02 03:25:40 +02:00
95e8cb1cb1 Fix bEnd 2019-06-02 03:21:22 +02:00
63935a1b5f Don't print errors from the DHCP endpoint 2019-06-02 03:15:18 +02:00
139f35d9d4 Only update disk if size was changed and not under dryrun 2019-06-02 03:04:25 +02:00
aa963100ba Fall back to 169.254.169.254 if DHCP endpoint does not work (unbreak OpenStack) 2019-06-02 02:41:36 +02:00
8dfa3c843a Add "-r rootdisk" growdisk support 2019-06-01 23:41:49 +02:00
a8490a757f Escape backslash in mdoc 2019-06-01 17:01:29 +02:00
cf0be19caa
Merge pull request #5 from reyk/fix-cms
Unbreak cloud-agent's cms build on newer LibreSSL (OpenBSD 6.5)

OK with feedback from tb@openbsd
2019-05-10 12:11:28 +02:00
ffe93c5b4f Add #if defined(LIBRESSL_VERSION_NUMBER) 2019-05-10 12:09:59 +02:00
3e3c5d914e Unbreak cloud-agent's cms build on newer LibreSSL (OpenBSD 6.5)
Fix from github.com/xenotrope
2019-05-10 11:33:15 +02:00
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
bc8d60d5f6
Update README.md, remove warning, mention more clouds 2018-05-15 23:37:46 +02:00
daec249cc0 Fix previous 2018-05-15 23:16:57 +02:00
bf8bfd607b Fix build with LibreSSL 2.8 and constified the ASN1_OBJECTs. 2018-05-15 23:11:32 +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
Reyk Floeter
0b72288f57 Merge pull request #2 from bentley/master
Fix some typos in the manual.
2017-06-30 14:37:41 +02:00
Anthony J. Bentley
86e87dcf0a Fix some typos in the manual. 2017-06-30 02:44:47 -06:00
Reyk Floeter
6265b57310 Merge pull request #1 from george-b/patch-1
Fix typo fill -> file
2017-06-29 14:56:27 +02:00
George Brown
8f9d73615e Fix typo fill -> file 2017-06-29 13:53:58 +01: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