Vlastimil Holer
4e6abbb589
F #165 : Support timedatectl in TIMEZONE context
5 years ago
Alejandro Huertas
d52075c35a
B OpenNebula/one#3572 : add updated onegate client
5 years ago
Alejandro Huertas
b6f2245f97
B #174 : add support for ALIAS_DETACH
5 years ago
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
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
Kristián Feldsam
e4b30d4b75
Fixed IPv6 network on OpenSuse 42.2
...
Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
8 years ago
kvaps
372cb6a183
fix: Changes for this review https://github.com/OpenNebula/addon-context-linux/pull/75#pullrequestreview-37265447
8 years ago
kvaps
d5c9443a63
fix: get_first_ip
8 years ago
kvaps
789066a5cb
fix: dns commas
8 years ago
kvaps
d38f035f22
add: selinux installed check
8 years ago
kvaps
3c9f1a23ae
add: dns configuration
8 years ago
kvaps
d92c89e02f
fix: network startup
8 years ago
kvaps
84d98c7755
add: suse network configuration
8 years ago
Vlastimil Holer
f5c28e896c
Fix pre/post networking parts for SysV and Upstart
8 years ago
Vlastimil Holer
407b35c2e3
Make LV grow on extended MSDOS part. more clear
...
Improves 85c1b249ea
8 years ago
Vlastimil Holer
398f1e4b2a
Merge pull request #72 from beerwatch/patch-1
...
Update loc-05-grow-rootfs##one
8 years ago
Vlastimil Holer
c9a3c6d57e
Improved IPv6 support for ON 5.4
8 years ago
beerwatch
85c1b249ea
Update loc-05-grow-rootfs##one
...
In default LVM partitioning, there is msdos partition table and the PV is in the extended partition. When growing, you must resize the extended partition first and the PV partition second. This change detects the situation and grows both items in mdsos (MBR) partition table accordingly.
8 years ago
Vlastimil Holer
93cb488ffd
Restructure, logging, initial systemd support, pre/post network scripts
8 years ago