362 Commits

Author SHA1 Message Date
erdgeist
7df9c70879 Fixed some quoting mistakes 2006-05-09 00:33:14 +00:00
erdgeist
653bd9e938 Added attach/detach subsubcommands to config
Added more error checking when attaching image jails
Woke up this morning when the streets where full of cars
2006-05-09 00:26:04 +00:00
erdgeist
56f79ffcec Add a forceful blocking option to ezjail creation 2006-05-07 22:25:25 +00:00
erdgeist
48a4ad0891 -a mistaken for two ampersands... I am getting old 2006-05-06 23:06:24 +00:00
erdgeist
3ba095d7b4 Fixed some case statements that were broken by previous tidy ups 2006-05-05 00:59:54 +00:00
erdgeist
7124ec1e74 Some glitches fixed 2006-05-05 00:50:40 +00:00
erdgeist
89a8a70f02 Flag jails that would interrupt boot process as attachblocking. Skip or choose them deliberately in ezjail.sh 2006-05-04 18:49:52 +00:00
erdgeist
63ad46a478 ezjail_fillme renamed and inverted to ezjail_exists
Usage stings (Synopsis) now collected at a central place
passphrase url parameter added to the create subcommand
some trailing spaces removed
2006-05-04 15:06:59 +00:00
erdgeist
f67a0b6cb1 Added CVS Id Tag 2006-05-04 14:02:17 +00:00
erdgeist
fc9d97b45c Now honour new crypto image types 2006-05-03 16:28:15 +00:00
erdgeist
96700dbb84 Crypto image init-attach args converter introduced. 2006-05-03 16:01:41 +00:00
erdgeist
b5acbdb903 jailid detection failed, when security.jail.set_hostname_allowed=1 and another hostname was set 2006-05-03 15:40:43 +00:00
erdgeist
dd8855ee99 Had some strange error on some systems concerning awk syntax 2006-05-03 13:00:40 +00:00
erdgeist
d6e294a4b2 geli detach added 2006-05-03 01:47:01 +00:00
erdgeist
1d1c2aa41b Missing bracket. 2006-05-03 01:08:21 +00:00
erdgeist
2e43ae3750 Sanity checks tidied up now. 2006-05-03 01:04:45 +00:00
erdgeist
f2cf85c611 Some sanity checks on image size 2006-05-03 00:59:00 +00:00
erdgeist
65310b7582 Variable name ezjail_imagerestbytes did not match ezjail_imagerestbyte 2006-05-03 00:52:29 +00:00
erdgeist
93ff02cf65 Removed a \;\; that broke the outer case statement 2006-05-03 00:47:33 +00:00
erdgeist
8a6ac642f3 * getopts now is used instead of getopt, resolving lots of headaches.
* image size is now preparsed and splitted to prevent dd sucking up gigabytes of memory and finally plopping
* errors are now reported to stderr instead of stdout
* commands without parameters now fail when being passed parameters
2006-05-03 00:23:49 +00:00
erdgeist
d55b68f4f6 Some nicer defaults along with explanation 2006-04-26 11:19:22 +00:00
erdgeist
cbbb4bf480 syslogd wont open any socket in default flavour 2006-04-26 11:04:10 +00:00
erdgeist
f96dbd4def Introducing a more generic crypto image strategy 2006-04-26 09:31:37 +00:00
erdgeist
d6515f359d Some sane default values for jails 2006-04-25 00:40:13 +00:00
erdgeist
84587f1495 Sane defaults for execution of cron jobs 2006-04-25 00:39:23 +00:00
erdgeist
e6cb2196d2 the ports softlink now is default, since installing the ports tree after splitting the world is default 2006-04-25 00:38:37 +00:00
erdgeist
87273fafa2 Make portsnap extract to the correct directory 2006-04-24 15:48:54 +00:00
erdgeist
8f7a52bffa Wrong default for ezjail_jailtemp 2006-04-24 15:21:00 +00:00
erdgeist
3dcfaa042c Install will confirm release version for any non -RELEASE version now 2006-04-24 15:17:27 +00:00
erdgeist
5774feff88 Quote mismatch 2006-04-24 14:35:03 +00:00
erdgeist
93be17a3c0 HEADS UP: Common elements in update and install have been moved to a function. portsnap now is default way to maintain your copy of ports tree. 2006-04-24 14:31:55 +00:00
erdgeist
0377eb1c57 An empty ezjail directory made rcorder fail. Fixed 2006-04-24 10:59:04 +00:00
erdgeist
6ee8b2a5b6 ezjail_dirlist has been created. This variable will serve as starting point for automatic extension of that list, e.g. /usr/lib32 on 64bit machines. 2006-04-24 10:45:46 +00:00
erdgeist
72fd60f0a1 Do not use a lock file for gbde anymore. I have no concept of using/moving the lock file appropriately, so move it into the image. 2006-04-22 15:59:37 +00:00
erdgeist
e83c2468c5 Two typos when merging ezjail-release.sh into ezjail-admin. Thanks to Greg Johnson 2006-04-22 14:46:29 +00:00
erdgeist
79635f6ff0 Functionality merged into ezjail-admin. 2006-04-19 14:18:50 +00:00
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
aa43541538 ezjail.sh now follows new variable name style 2006-04-16 15:49:32 +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
a4836ec1a4 Some more escaping... 2006-04-12 19:04:46 +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