Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.
As you see there are ports which I try to install. Because I have all that ports installed on my host I copied /var/db/ports to my Virtual Machine because I don't want installation process was interrupted (like 'make config' when I need to define ports' options) . When I create new ezjail machine 'ezjail.flavour' is being processed inside new virtual machine. On the console I see 'Starting jails: ' while inside virtual machine starting new installation process mysql51-server, apache22 and so on. So I wait for a while and connect to virtual machine. And I see only installed mysql-server not other applications. So next I manual install next apllication without any problem. I don't know exactly but there is (may be in bourne shell) must be some timeout after which execute script is ceased. If you know let me know it. Thanks.
#!/bin/sh cd /usr/ports/databases/mysql51-server && make install cd /usr/ports/www/apache22 && make install cd /usr/ports/lang/php5 && make install cd /usr/ports/lang/php5-extensions && make install