131 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
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
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
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
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
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
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
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
f96dbd4def Introducing a more generic crypto image strategy 2006-04-26 09:31:37 +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
82e2efd2dd Variable name cleanup nearly completed. Install subcommand imported from ezjail-release.sh. Untested, unfinished\! 2006-04-19 14:10:11 +00:00