82 Commits

Author SHA1 Message Date
erdgeist
82e2efd2dd Variable name cleanup nearly completed. Install subcommand imported from ezjail-release.sh. Untested, unfinished\! 2006-04-19 14:10:11 +00:00
erdgeist
2071222bd3 one newline too much 2006-04-16 15:54:25 +00:00
erdgeist
506341bf17 Two bugs preventing jails to be set norun or run have been fixed. 2006-04-15 20:48:26 +00:00
erdgeist
ec8cc657b2 Some variable name problems have been solved 2006-04-15 20:40:21 +00:00
erdgeist
47efcef789 Forgot some braces, more testing follows. 2006-04-15 20:24:46 +00:00
erdgeist
f54c7ed9db HEADS UP:
Major changes in how config is fetched from jail config.
A major variable renaming took place.
A new subcommand config has been introduced.
Jails can be configured not to be run automatically.
Crypto images do not work anymore if made with an older version. (Due to config file variable renaming)
.norun has been set as standard "do not run" name. However, any . is enough to prevent booting the jail.
2006-04-15 20:20:12 +00:00
erdgeist
2cbc60523a Beautify list output and prepend a header row 2006-04-12 19:28:02 +00:00
erdgeist
70db4b2322 Some space problems in the list subcommand fixed 2006-04-12 19:21:52 +00:00
erdgeist
5a3021c914 ezjail_list now prints out a bunch more information. Docu follows. 2006-04-12 19:04:30 +00:00
erdgeist
c034198ecf Flavours now unconditionally overwrite files in jail 2006-04-11 21:14:15 +00:00
erdgeist
57bafb8779 new options correctly listed in create without options 2006-04-11 19:09:02 +00:00
erdgeist
d41e5c4d78 create -i now doesn't override -c anymore 2006-04-11 19:03:43 +00:00
erdgeist
02070e2e6c Introduce ugly perl hack. 2006-04-10 13:27:15 +00:00
erdgeist
767881b1fe C-Coders mistakes... ;) 2006-04-03 18:21:50 +00:00
erdgeist
0970be2e2a Much more error handling. Not tested yet. 2006-04-03 18:19:54 +00:00
erdgeist
d1b84c6621 Beautify config files ;) 2006-04-01 18:46:43 +00:00
erdgeist
cd8742e9dc The list subcommand now prints jails in order of startup execution 2006-04-01 18:27:52 +00:00
erdgeist
8320371a4b Provide some lines to indicate the availability of rcorder-style ordering in ezjail configs. 2006-04-01 17:07:33 +00:00
erdgeist
6c388abea8 ezjail now comes with image jails. HEADS UP! A lot of testing is ahead. 2006-03-21 16:33:05 +00:00
erdgeist
9cbb2d786e Moved usr/games and usr/libdata to basejail, saves ~100k 2006-03-15 12:47:56 +00:00
erdgeist
4ecd1ea3ce Trailing spaces 2006-03-12 23:27:45 +00:00
erdgeist
5d92d19979 Check, that noone creates a jail called "fulljail" 2006-03-06 18:24:50 +00:00
erdgeist
5dd4285fb8 Syntax error fixed.. Shame on me for not testing 2006-03-03 14:04:19 +00:00
erdgeist
8f46463b94 Dont prevent recreating existing jails :/ 2006-02-23 00:05:34 +00:00
erdgeist
16aa872f69 Cosmetics. Really ;) 2006-02-21 13:28:29 +00:00
erdgeist
681fd19990 Ugly ugly bug: [ test for string ] fails for too many paramters. Quote the string. 2006-02-16 13:12:59 +00:00
erdgeist
a2b29799af Dont install a jail to an existing location 2006-02-15 14:36:55 +00:00
erdgeist
6d23ac4d12 /boot and /rescue move to basejail 2006-02-14 15:37:03 +00:00
erdgeist
d57c4832a0 Cosmetics. 2006-02-10 16:05:58 +00:00
erdgeist
532ac61d62 Give permissions to the correct file. 2006-02-09 18:21:49 +00:00
erdgeist
afad488c73 Condition check turned around 2006-02-09 18:17:30 +00:00
erdgeist
d9c9e79a98 Discontinue deprecated -r option for cp, ensure flavour directory 2006-02-09 18:11:06 +00:00
erdgeist
c1618f230d Cosmetics. 2006-02-09 16:43:24 +00:00
erdgeist
c270955ae0 Radical change of what an ezjail flavour is. The old way got me stuck. 2006-02-09 00:44:49 +00:00
erdgeist
be3bfa65be quote mismatch. Formatting 2006-02-08 11:05:51 +00:00
erdgeist
847ef8a6fc cvsroot for ports now obeyd in cvs up, too. Cosmetics. 2006-02-08 10:56:35 +00:00
erdgeist
50886f7d58 Cosmetics. Corrected a stupid glitch claiming, the command would be 'ezjail' instead of 'ezjail-admin'. 2006-02-06 13:18:30 +00:00
erdgeist
c81e58c9c9 Protect against empty variable expansion problems in [ $var ] 2006-02-06 02:42:22 +00:00
erdgeist
f0e838773b provide braces for variable expansion, rename a to dir, remove templatejail_old only, if it exists 2006-02-06 02:29:42 +00:00
erdgeist
c5753e553f _ may be replaced by _, avoid identical variable names 2006-02-02 22:55:33 +00:00
erdgeist
159b4a8c83 Variable name tidy up, forbid anything but [:alnum:]_ in variable names 2006-02-01 19:54:26 +00:00
erdgeist
9308bc4f47 Code review. Mainly minor style fixes. One issue with softlink to /basejail/usr/ports fixed. Old flavour directory /basejail/config/pkg not created anymore. 2006-01-20 19:32:50 +00:00
erdgeist
ed092c1112 extra sanity checks 2006-01-18 20:18:22 +00:00
erdgeist
468db0dfb5 We need to test for soft link, not for regular file 2006-01-16 06:12:02 +00:00
erdgeist
3014e8e36b Some people dont want there sticky tags removed on ports updating 2006-01-16 05:10:38 +00:00
erdgeist
0c133c53cd Introducing the -P flag to allow ports updating only 2006-01-16 05:06:04 +00:00
erdgeist
bff8fdd86b Warnings must be emitted last, chflags must be applied to non-shared directories as well 2005-12-31 16:40:36 +00:00
erdgeist
3fe6f11868 copy the whole defaults directory, not just its entries 2005-12-31 13:35:24 +00:00
erdgeist
523224e63e Flavours now head to their final layout:
the whole bunch of stuff found below flavour dir is being installed into the new jails root, including the flavour config, packages and files.
The startup scripts now only creates users, chowns the files it is told to and installs packages.
2005-12-31 01:50:10 +00:00
erdgeist
485fad9015 Rethought flavours 2005-12-18 16:47:21 +00:00