diff options
author | erdgeist <erdgeist@erdgeist.org> | 2005-10-15 18:21:43 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2005-10-15 18:21:43 +0000 |
commit | 22205cb8810f3242b72c7ca87a21160441a20855 (patch) | |
tree | d2f631d39b17c1c408673e3e14d0cdd23c5f87a7 | |
parent | 709e87e5dc2b124287a96d10ad70d955574ad99e (diff) |
Enforce creation of a new config resource on create
-rwxr-xr-x | ezjail-admin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin index f7c0f63..bb5785c 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -109,7 +109,7 @@ create) | |||
109 | # now, where everything seems to have gone right, | 109 | # now, where everything seems to have gone right, |
110 | # create control file in ezjails config dir | 110 | # create control file in ezjails config dir |
111 | mkdir -p $ezjail_jailcfgs | 111 | mkdir -p $ezjail_jailcfgs |
112 | echo export jail_${newjail_nname}_hostname=\"${newjail_name}\" >> ${ezjail_jailcfgs}/${newjail_nname} | 112 | echo export jail_${newjail_nname}_hostname=\"${newjail_name}\" > ${ezjail_jailcfgs}/${newjail_nname} |
113 | echo export jail_${newjail_nname}_ip=\"${newjail_ip}\" >> ${ezjail_jailcfgs}/${newjail_nname} | 113 | echo export jail_${newjail_nname}_ip=\"${newjail_ip}\" >> ${ezjail_jailcfgs}/${newjail_nname} |
114 | echo export jail_${newjail_nname}_rootdir=\"${newjail_root}\" >> ${ezjail_jailcfgs}/${newjail_nname} | 114 | echo export jail_${newjail_nname}_rootdir=\"${newjail_root}\" >> ${ezjail_jailcfgs}/${newjail_nname} |
115 | echo export jail_${newjail_nname}_exec=\"/bin/sh /etc/rc\" >> ${ezjail_jailcfgs}/${newjail_nname} | 115 | echo export jail_${newjail_nname}_exec=\"/bin/sh /etc/rc\" >> ${ezjail_jailcfgs}/${newjail_nname} |