Javi Fontan
37ce3c3e31
Init scripts for both one and ec2
...
In Debian the init script should be the same
9 years ago
Javi Fontan
dff9317cce
Move scripts for non ec2 machines to dir.one
...
generate.sh is also modified so it copies the files from these
directories by default or use dir.$ENVIRONMENT if specified. For
example, use ENVIRONMENT=ec2 to copy the directories that end in .ec2:
ENVIRONMENT=ec2 ./generate.sh
base
base.ec2
base_deb
base_deb.ec2
9 years ago
Javi Fontan
ebc52b18d0
Bump version to 4.14.3
9 years ago
Javi Fontan
07028b4ded
Merge pull request #23 from baby-gnu/feature/configurable-ssh-user
...
Contextualize SSH user with $USERNAME variable
9 years ago
Daniel Dehennin
0d8ae8d848
Contextualize SSH user with $USERNAME variable
...
Make sure to retrieve ${HOME} location from getent.
9 years ago
Javi Fontan
731361e752
Add extra information to gate env file
9 years ago
Javi Fontan
5374849fc2
gh-22: add support for token in vcenter context
9 years ago
Javi Fontan
f553d64e89
Bump version to 4.14.2
9 years ago
Javi Fontan
4531030cba
Merge pull request #20 from baby-gnu/fix/ssh-public-key
...
Create SSH directory before authorized_keys file
9 years ago
Daniel Dehennin
a60dda7eae
Create SSH directory before authorized_keys file
9 years ago
Javi Fontan
01162730e0
Merge pull request #14 from fasrc/master
...
gh-14: Arch one-context support
9 years ago
Dan Kelleher
12cc68ec9e
Change cloud-utilz-bzr to mkinitcpio-growrootfs to reduce dependencies
9 years ago
Javi Fontan
e371ddecfa
gh-19: tidy up ssh key script
9 years ago
Javi Fontan
66b8474374
gh-19: create authorized keys if it does not exist
9 years ago
Javi Fontan
e04ab3383f
gh-19: don't overwrite authorized keys
9 years ago
Dan Kelleher
d018d9854e
Add cloud-utils to PKGBUILD depends
9 years ago
Dan Kelleher
29d7b71c88
Clean up PKGBUILD
9 years ago
Dan Kelleher
6dad6796df
Fix one-contextd and deb/rpm init.d
...
One-contextd was missing a call to the start function.
The init.d scripts were calling one-context not
one-contextd
9 years ago
Dan Kelleher
da46fea6e7
Cleanup post install for pull request
9 years ago
Dan Kelleher
940813f9f5
SysV scripts now call /usr/sbin/one-contextd
...
I was unable to make systemd scripts for Debian 7 and CentOS 6
so for backwards compatability made the SysV script call
/usr/sbin/one-contextd. This should be revisited in the future.
9 years ago
Dan Kelleher
2cd057a99f
Remove Arch from postinstall and added PKGBUILD and one-context.install
9 years ago
Javi Fontan
a99ce6b1ed
Merge pull request #18 from fasrc/Swap
...
Swap script will now swap on all available swap spaces
9 years ago
Javi Fontan
930f49dfd9
Merge pull request #15 from puppetmaster/fix-growrootfs
...
Fix growpart error when missing.
9 years ago
Javi Fontan
ef7ccabe3a
Merge pull request #16 from puppetmaster/fix-ifquery-error
...
Fix ifquery error on Debian based OS like ubuntu
9 years ago
Dan Kelleher
cb570384b9
Fix a typo and use blkid flags
...
Instead of using grep and cut use only the blkid flags to output
SWAP_DRIVES.
9 years ago
Dan Kelleher
5180beec73
Rewrite 04-mount-swap to swap on all swap partitions.
...
The 04-mount-swap was only mounting on swap with a label swap.
This will now swap on all swap type partitions.
9 years ago
Dan Kelleher
1d62ed4143
Remove the echo from 05-hostname
9 years ago
Dan Kelleher
497653472a
Add link between one-context.service and systemd-networkd.service
...
also updated 00-network and 05-hostname
One-context.service should be linked to systemd-networkd.service,
tying to do this using the Wants flag. Additionally since
one-context.service should now run before systemd-networkd.service
it's superfluous to restart the unit, this was edited out of
00-network. 05-hostname was edited to use the hostnameclt, the
echo style can probably be removed.
9 years ago
Dan Kelleher
50f8d3c91a
Change one-context to one-contextd
10 years ago
Dan Kelleher
2190ff94a7
Move one-context to sbin and refactor one-context.service
...
One-context should really have been in sbin all along. Updated
one-context.service to run before systemd-networkd but after udev
or kdbus have run. This should eliminate the requirement for a
systemd-networkd restart.
10 years ago
Philippe Caseiro
a7209c5449
Fix ifquery error on Debian based OS like ubuntu
...
In Ubuntu 12.04 ifquery don't have any option "-l" we need to pass --list instead.
Debian 8 ifquery don't have this "-l" option.
10 years ago
Philippe Caseiro
6e6e70e29f
Fix growpart error when missing.
...
If the virtual machine don't have cloud-utils intalled this script print errors.
I test if growpart command is available before running the action
10 years ago
Dan Kelleher
0c02c6c38e
Add arch to the post install script
10 years ago
Dan Kelleher
acaf4d3de3
Add RemainAfterExit to the systemd service this causes systemd to
...
consider the Unit to be active if the start exits successfully.
10 years ago
Dan Kelleher
ffdebdb018
Added arch linux support for one-context
...
Addded Arch linux support for one-context. Moved the
init.d directory to distro specific directories in
order at add systemd compatability. 00-Network was
also reworked to use systemd-networkd.
10 years ago
Javi Fontan
8669f28e45
Bump version to 4.14.1
10 years ago
Javi Fontan
688c6236b0
gh-9: update package information
10 years ago
Javi Fontan
882fffe24d
gh-12: generate host ssh keys in debian based distros
10 years ago
Javi Fontan
c02f84541a
gh-10: support device links in mtab
...
The device in mtab can be a link, for example /dev/disk/by-label/root
10 years ago
Javi Fontan
382b3d602d
gh-10: add script to grow root fs
...
Uses growpart from cloud-utils and supports ext4 and xfs
10 years ago
Javi Fontan
598fc14576
gh-8: Allow RPMs to be built on non-Linux hosts
...
Patch provided by Bill Cole
10 years ago
Javi Fontan
6e57b077f2
Bump verstion to 4.14
10 years ago
Javi Fontan
5b4d39f62c
feature #3651 : Add support for start script in context
...
If START_SCRIPT_BASE64 or START_SCRIPT is found in the context it is saved
to a temporary file and executed.
For OpenNebula ticket: http://dev.opennebula.org/issues/3651
10 years ago
Edouard Bourguignon
d54cad784b
gh-7: use blkid to find the context CD
...
Also for http://dev.opennebula.org tickets #3749 and #3365
10 years ago
Javi Fontan
ff81527d2c
Add onegate tool info to package description
10 years ago
Javi Fontan
77b5280205
Change package version and README
10 years ago
Javi Fontan
8d98d5a8cc
Change onegate version
10 years ago
Javi Fontan
cd7e9da5c8
Make one_env readable by all users
10 years ago
Javi Fontan
a44d12c0be
Add start wrapper to onegate tool
...
It first sources /tmp/one_env file to get context data
10 years ago
Javi Fontan
644d1f12e3
Add script to generate environment file in /tmp/one_env
...
Based in the script made by Daniel Molina <dmolina@opennebula.org>:
5ce7c87cc8/share/onegate/init.sh
10 years ago