Daniel Dehennin
6e243d87f8
B #118 : one-context-force breaks boot status
...
We must make sure "one-context-force.service" is not run during boot
disk detection but on hotplug events.
When booting with a swap partition on the disk, the udev rules will
start the "one-context-force" service long before "one-context-local"
and "one-context".
This results in the system being in "degraded" state as reported by
"systemctl is-system-running".
* src/usr/lib/systemd/system/one-context-force.service##systemd.one:
add conditions to run only on hotplug events.
Signed-off-by: Daniel Dehennin <daniel.dehennin@ac-dijon.fr>
5 years ago
Vlastimil Holer
ba786dde74
F #115 : Support disable of grow-rootfs script
...
Closes #115 .
5 years ago
dchepishev
1c6d30c3ad
B #-: Calculate NETWORK from on IP/MASK
...
Signed-off-by: Deyan Chepishev <dchepishev@superhosting.bg>
5 years ago
Vlastimil Holer
5e89a5cbc1
M #: Fix arguments passing to onegate.rb
5 years ago
kvaps
7acde453ca
F #165 : Setup TIMEZONE
...
Signed-off-by: kvaps <kvapss@gmail.com>
6 years ago
sergiojvg
5b669172f5
F OpenNebula/one#964 : Allow FILES_DS for vCenter
...
* F #964 : Allow FILES_DS for vCenter
* F #964 : Move code to one-contextd
* F #964 : Use arithmetic expansion instead of let
* F #964 : Decrease used vars
6 years ago
Vlastimil Holer
337b52c08a
B #116 : Use parted in non-interactive mode
6 years ago
Jan Orel
61901fd66e
B #148 : Use findmnt to find / device
6 years ago
sergiojvg
76e7b556a2
B OpenNebula/one#3019: VNC login password prompt not working on LXD containers ( #150 )
6 years ago
Vlastimil Holer
30fdbfa36a
B OpenNebula/addon-context-linux#148 : Invalid backup files created by sed
...
Closes #148
6 years ago
Alejandro Huertas
223a3762a8
gh-141: Add ignores to curl and wget commands
6 years ago
Vlastimil Holer
a4ebef8629
OpenNebula/one#1684 : Support restart on SysV recontextualization scripts
6 years ago
Vlastimil Holer
3533cf69f5
gh-138: Fix CONTEXT ISO detection on CentOS 6
6 years ago
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