Commit graph

54 commits

Author SHA1 Message Date
14d0149cdb CMS is back! Use it in LibreSSL > 3.0.2 or with USE_LIBRESSL_CMS=1 2019-11-29 17:22:07 +00:00
beef9f736c Append /etc/resolv.conf.tail if it exists 2019-11-29 17:06:39 +00:00
0b1fee287c I forgot -c in the usage, will be part of the next release 2019-06-28 16:07:06 +02:00
e800a2b7d2 Add support OpenNebula's USERNAME 2019-06-14 09:45:48 +02:00
fd7fa10f1b Update copyright 2019-06-11 12:29:08 +02:00
c968f169fd Tweak previous, sync cloud-agent.md 2019-06-11 12:23:36 +02:00
ca22cba8e4 Allow to specify the probed cloud stacks with -c cloud[,cloud...] 2019-06-07 11:58:09 +02:00
3be9707418 Remove /var/db/cloud-instance file on -u 2019-06-05 22:01:21 +02:00
b8ae4a13fc Allow to generate and write a comment into ~/.ssh/authorized_keys 2019-06-05 21:39:05 +02:00
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
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