Vlastimil Holer
648bf7860a
gh-138: Run contextualization only from CDROM
6 years ago
Vlastimil Holer
0d91699631
gh-138: Run contextualization only from CDROM
...
(apply udev changes to Debians and Alpines)
6 years ago
Anton Todorov
f8e66f94a3
gh-138: Run contextualization only from CDROM ( #139 )
...
Device that has `ID_CDROM=1` set in the udev environment. This will prevent re-contextualization of the host in case when an VM is LXD or KVM host (nested virtualization)
6 years ago
Vlastimil Holer
3ccc0f57c4
gh-131: FreeBSD IPv6 and NIC aliases, minor fixes
6 years ago
Vlastimil Holer
fcf3212db2
F #911 : Add NIC aliases IPv6 support
6 years ago
Alejandro Huertas Herrero
003e7d117c
F #911 : Add alias/es support IPv4 ( #136 )
...
* Add alias debian context.
* Add alias centos context.
* Add alias alpine context.
6 years ago
Vlastimil Holer
7a4a8e3ec9
gh-132: Drop OpenSSL dependency
...
Closes #132
6 years ago
Alexey Shabalin
65cbdc43f6
gh-133: Fixed generate network config for systemd-networkd. ( #133 )
...
* fix condition for add SEARCH_DOMAIN
* fixed condition gen_iface for IPv4 and IPv6
6 years ago
Jan Orel
4da1b90ae4
gh-125: Reorder sending ready report ( #135 )
...
Put onegate to the last resort to prevent potential failures with
missing ruby or hanging due to low entropy.
6 years ago
Vlastimil Holer
ef254cb0af
gh-131: Improvements to FreeBSD contextualization
6 years ago
Vlastimil Holer
4c434b082e
gh-125: Add Alpine dependencies on ruby, ruby-json, bind-tools
6 years ago
Daniel Clavijo Coca
7daad146be
F #1684 : Fix context failing LXD context on alpine ( #134 )
6 years ago
sergiojvg
26d4cc6419
FreeBSD context ( #120 )
...
* BSD context
* BSD service scripts
* Added ToDo
* Add context scripts
* Freebsd packaging
* Freebsd packaging finished
* Rollback OS detection
* Fix bug with default gateway configuration
* Add services for pfsense
* Remove bsd context script
* Replace /bin/bash with /usr/bin/env bash
* Remove /bin/bash symlink creation
* Fix service naming
* Replace /bin/bash for /bin/sh on BSD service scripts
* Fix hardcoded cdrom drive
* Fix service start on boot bug on pfsense
* Fix bug when creating new users
* Fix bud with sudo
* Fix bug with crypted passwords
* Fix bug with hostname
* Fix sed bug related to hostname
* Fix bug with domains
* Fixed bug: variable should be local
6 years ago
Daniel Clavijo Coca
5a73ce7323
fix commas ( #130 )
...
* F #1684 : LXD drivers contextualization
6 years ago
Daniel Clavijo Coca
9fc1df3b11
LXD drivers contextualization ( #126 )
...
* F #1684 : LXD drivers contextualization
6 years ago
Vlastimil Holer
fc8535e4d8
gh-122: Ensure files in /var/run/one-context/ have 0400 permissions
...
Closes #122
6 years ago
Vlastimil Holer
1d98c317f9
gh-113: Create new users with * in encrypted password
...
Closes #113
7 years ago
Vlastimil Holer
08c09605fb
Merge pull request #108 from fasrc/keepalived-trackscript
...
Add functionality for keepalived check script
7 years ago
Alexey Shabalin
7330becdcb
- add DNS and Domain support in systemd network unit
...
- IPV6 -> IP6
7 years ago
Dan Kelleher
838a708e8f
Add functionality for keepalived check script
...
This will add a hook to allow keepalived to run a check script if the
script variable is defined.
7 years ago
Vlastimil Holer
a8baa826d2
gh-107: Disable default password reset
...
Closes #107
7 years ago
Vlastimil Holer
106db183e2
gh-100: Don't override GRUB_CMDLINE_LINUX_DEFAULT
7 years ago
Vlastimil Holer
d2ac18fa8a
gh-91: Time limited lock acquire
7 years ago
Vlastimil Holer
aa3a9f2b4a
gh-104: udev settle timeouts on OpenSUSE 42.3
...
Closes #104
7 years ago
Vlastimil Holer
97d95628a9
gh-93: New context option USERNAME_SHELL, few user related renamed
...
Closes #93
7 years ago
Vlastimil Holer
752c237a45
gh-92: Fallback to file logging if system loggers not available
...
Closes #92
7 years ago
Vlastimil Holer
3d613abe06
gh-95: Disable console blanking
...
Closes #95
7 years ago
Vlastimil Holer
27db916569
gh-85: Disk resize/attach triggers forced contextualization
7 years ago
Vlastimil Holer
f67fedc4ac
gh-94: Fix SELinux labels for custom user
...
Closes #94
7 years ago
Vlastimil Holer
88fcbd8566
gh-102: Optional password reset
...
Fixes #102
7 years ago
Vlastimil Holer
0312b8ade2
gh-82: Replace dependency on dev-disk-by\x2dlabel-CONTEXT.device
...
Closes #82
7 years ago
Vlastimil Holer
cce2d05950
Improve get_first_ip() for systems w/o default route and new iproute
...
- Current ip returns user UID for the route (Fedora 25, 26):
1.0.0.0 via 10.0.0.2 dev eth0 src 10.10.0.43 uid 0
cache
- There may be more spaces between device and src (Ubuntu 14.04):
1.0.0.0 via 10.0.0.2 dev eth0 src 10.10.0.37
cache
7 years ago
Vlastimil Holer
198c46b48b
Bring back EC2 contextualization for systemd based systems
...
Supported systems: CentOS 7, Debian 9, Ubuntu 16.04
Closes #78
7 years ago
Vlastimil Holer
7dad8bcba4
Unlink systemd-resolved symlink /etc/resolv.conf
7 years ago
Vlastimil Holer
3a44763638
Default unprivileged sudo conf., password set fallback to passwd
...
Closes #88
7 years ago
Dmitry Tyzhnenko
92ae5c022a
Add GRANT_SUDO parameter to context
...
If use a $GRANT_SUDO variable with $USERNAME,
the regular user will have a sudo privileges
7 years ago
Vlastimil Holer
4ac294d2a0
Load IPv6 module on Alpine
...
Issue #80
7 years ago
Vlastimil Holer
d2cd1be047
Update growpart with upstream
7 years ago
Vlastimil Holer
41cc2d9075
Fix IPv6 Alpine contextualization for ONE>=5.4
...
Issue #80
7 years ago
Vlastimil Holer
b0a1ad1b9d
Weaker Alpine init scripts dependencies
7 years ago
Vlastimil Holer
3ea0d08bb7
Reconfigure command not passed to the contextualization scripts
7 years ago
Vlastimil Holer
16d375d6ea
Use base64 for START_SCRIPT_BASE64 decode
7 years ago
Vlastimil Holer
b6e611d63c
Import of the Alpine scripts
7 years ago
Vlastimil Holer
88ed173478
Change systemd delayed reconfigure service to forking type
8 years ago
Vlastimil Holer
f8e97dea1b
Place START_SCRIPT*/INIT_SCRIPTS into /tmp
...
With new systemd, /var/run/ is mounted with noexec.
8 years ago
Vlastimil Holer
7440839c2b
Update Upstart scripts with dependencies/expect fork/manual
8 years ago
Vlastimil Holer
2afb78747d
Generate SSH host keys before networking
8 years ago
Vlastimil Holer
e256b4a35b
Set OpenSUSE IPv6 autoconf/accept_ra=0
8 years ago
Vlastimil Holer
55c6a1b7a5
Merge pull request #76 from FELDSAM-INC/feldsam/opensuse-fix-ipv6
...
Fixed IPv6 network on OpenSuse 42.2
8 years ago
Vlastimil Holer
75f121352c
gh-77: Refresh initramfs when dracut module, don't fail on growpart
...
Closes #77
8 years ago