[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ezjail] small bug




The problem is if I want to change only the directory /basejail to another name like (virtualjail, vps, etc...)

ezjail_jaildir=/usr
ezjail_jailbase=${ezjail_jaildir}/basejail
to
ezjail_jaildir=/usr
ezjail_jailbase=${ezjail_jaildir}/virtualjail

But... ezjail_jailbase is only here:

: ${ezjail_jailbase="${ezjail_jaildir}/basejail"}

this means, that it is only set to "${ezjail_jaildir}/basejail if previously unset.

If you set:

ezjail_jaildir=/usr/jails
ezjail_jailbase=/usr/virtualjail

all is fine. What don't I get here?

  erdgeist