Jake Buchholz Göktürk
9e4f8868db
Revert "fix locking of root account"
...
This reverts commit f86e2899867c00dae0ca19888b1271199a8262b0
2022-03-19 03:39:47 +00:00
Jake Buchholz Göktürk
f86e289986
fix locking of root account
2022-03-19 03:26:36 +00:00
Mike Crute
0bfdd16977
Fix root account locking
...
Fixes #22
2021-01-26 18:07:38 +00:00
Jake Buchholz
e54b913fa4
only lock root, not EC2_USER
2021-01-08 19:36:14 -08:00
Mike Crute
11d5b810a7
Also lock account when changing password
...
The Amazon marketplace image verifier expects the root account to be
locked, not just cleared. Otherwise images that use the bootstrap can't
be pushed to the AWS marketplace.
2021-01-09 00:57:46 +00:00
Jake Buchholz
9feefd2a9f
Make sure busybox's mountpoint is used
...
util-linux's busybox does not support -n which prevents root partition expansion.
2020-11-21 18:21:26 -08:00
Jake Buchholz
c1d9d27785
Expand root to all available volume space when it's a partition
2020-11-15 20:13:45 -08:00
Tomas Volf
7838c22ea6
Report exit code from user-data instead of from tee
2020-05-20 11:03:14 -07:00
Mike Crute
1f4f4fccb8
Change whitespace from spaces to tabs
2020-05-19 15:50:11 +00:00
Tomas Volf
834cac92da
Add indentation related options to the modeline
2020-05-19 08:44:21 -07:00
Tomas Volf
bea0e57425
Use correct ft in vim modeline
...
Alpine machines does not have to have bash install (and even if they did, I'm
not really sure openrc would use it). So ft should be just sh.
2020-05-19 08:44:21 -07:00
Jake Buchholz
07a0b9f3c8
Support IMDSv2 / Make shellcheck Happier
...
* get/use Instance MetaData Service v2 token, thanks @junkb (resolves #6 )
* make shellcheck happier
* fix installation of multiple SSH keys for EC2_USER
* use 'grep -q' to detect shebang in user_data
2020-05-05 15:03:03 -07:00
Mike Crute
0805173154
Tee user-data output to console, show exit status
...
Fixes : #5
2020-01-13 21:23:42 +00:00
Jake Buchholz
8b933685a4
openrc-run auto-loads /etc/conf.d/tiny-ec2-bootstrap
2019-07-05 12:52:57 -07:00
Jake Buchholz
3ceb90d1ff
make ec2 user configurable
2019-07-05 12:52:57 -07:00
Jake Buchholz
2c5f667acb
* disable root/alpine passwords instead of scrambling them
...
* state as a dependency
2018-08-14 15:37:50 -07:00
Mike Crute
83dfe0c9ff
Maximize root filesystem
2018-01-28 04:52:16 +00:00
Mike Crute
fe26bc91ff
Scramble root and alpine passwords
2018-01-28 04:52:01 +00:00
Mike Crute
20513b6595
Initial commit
2017-12-24 03:49:52 +00:00