237 Commits

Author SHA1 Message Date
erdgeist
5b5921370d Fixed some expansion/quotation issues with tr's parameters ([:alnum:] etc.) Thanks to Simon L. Nielsen. 2006-07-15 16:11:22 +00:00
cryx
372d2696df use the new sendmail_* stuff for disabling sendmail-mta 2006-07-12 22:29:23 +00:00
erdgeist
ddc9dc7e58 environment was not being passed correctly to subtargets, see http://lists.freebsd.org/pipermail/freebsd-current/2004-August/034574.html. Thanks go to Simon L. Nielsen. 2006-07-02 13:16:48 +00:00
erdgeist
a305599a9f Let ezjail only run after sshd, its better that way for many jails. RELEASE_2_0 2006-05-31 14:54:01 +00:00
erdgeist
2357bfc3a3 Last cosmetics for ezjail-2.0 release 2006-05-31 14:18:49 +00:00
erdgeist
58886b58b0 Fixed the export I rather stupidly removed from jail configs 2006-05-22 18:32:33 +00:00
erdgeist
b478527a9c Release attached-lock only, if device has really been detached. 2006-05-22 00:41:58 +00:00
erdgeist
e71bebd003 simple image jails did not have their device provided correctly. Fixed. 2006-05-22 00:36:21 +00:00
erdgeist
5c2ac7cf28 Preparing for release of ezjail-2.0beta 2006-05-22 00:20:47 +00:00
erdgeist
24e91c5d8b Provide more clues as how to continue if fetching dir list from server fails 2006-05-17 20:42:13 +00:00
erdgeist
bb7bf16967 Query ftp server for the versions he knows off. 2006-05-17 20:22:04 +00:00
erdgeist
fdd73c5b88 Document new -c arguments in man page 2006-05-17 19:06:57 +00:00
erdgeist
841d0d4c12 Explain options left if fetching packages fails. Also explain, that "are you sure" is being answered by ezjail. 2006-05-17 13:07:32 +00:00
erdgeist
0daab71ac0 -STABLE translated to -RELEASE, check for -RELEASE corrected 2006-05-17 12:59:52 +00:00
erdgeist
18a8596359 each jail is declared a standard_ezjail for rcorder to make it easier to run a jail BEFORE: any other jail (e.g. name servers will run BEFORE: standard_ezjail) 2006-05-17 11:44:36 +00:00
erdgeist
5109389f1a Documentation for the install and the list subcommand 2006-05-16 10:53:16 +00:00
erdgeist
71bed9ab65 legacy variable name substituted 2006-05-16 10:50:48 +00:00
erdgeist
26564f8758 simple jails are now initialised from /dev/zero 2006-05-15 20:15:18 +00:00
erdgeist
43f3679ff5 sh arithmetic overflows, use bc to calculate image size 2006-05-15 19:50:22 +00:00
erdgeist
783782f203 sh arithmetic overflows, use bc to calculate image size 2006-05-15 19:37:03 +00:00
erdgeist
098c7cbf69 Removed the -u switch from parameter list, since currently there is no way I know of to properly pass a pasphrase to gbde or geli command (except gbde -p, which might be implemented later) 2006-05-15 19:09:28 +00:00
erdgeist
c564556007 simple image jails are now being detached, too 2006-05-15 13:16:49 +00:00
erdgeist
87f8dd7f59 add /usr/lib32/ to dirlist for amd64 2006-05-10 14:11:32 +00:00
erdgeist
2832c4efec Synopsis line not echoed correctly - fixed. 2006-05-10 13:47:28 +00:00
erdgeist
6cdc848308 attaching and detaching image jails now works. 2006-05-09 02:00:04 +00:00
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