I try to launch postrun scripts after restoring a disk. I've launched
/opt/drbl/sbin/drbl-gen-ssi-files -t $IP and get no error.
When I check /tftpboot/nodes_root/drbl_ssi/template_opt_drbl.tgz, I can see
my postrun scripts.
Scripts are tested with run-parts --test.
Name of the files are OK (there aren't dots)
After the restoring, I can see that it didn't find any postrun scripts. When
I use the shell post restoration, I don't see any postrun scripts in
Command : /opt/drbl/sbin/drbl-ocs -b -g auto -e1 auto -e2 --run-postrun-dir
-r -x -j2 -p true -h $IP -l fr_FR.UTF-8 startdisk restore $IMG sda
Postrun files' location : /opt/drbl/share/ocs/postrun
OS : Debian 5.0.8
Clonezilla OS : Lucid
Do you have an idea of something I've could miss ?
Thanks for your help,
I've tried to resolve my problem using the "-p" option. However, it doesn't
/opt/drbl/sbin/drbl-ocs -b -g auto -e1 auto -e2 -r -x -j2 \
-p "/home/partimag/script1; /home/partimag/script2; /home/partimag/script3"
-h 188.8.131.52 -l fr_FR.UTF-8 startdisk restore
My client displays the grub-like menu, and I get a menu "Entre shell / Start
Clonezilla". When I don't specify the "-p" option, I don't have this
Any idea ?
Thanks for your help,
From: Steven Shiau <steven@nc...> - 2011-10-25 14:41:35
The option "-p" will only accept one command, and it will have problem
if you put ";" in your command.
I suggest you put merge all scripts to single one.
On 10/24/2011 10:28 PM, Grégoire Leroy wrote:
> I've tried to resolve my problem using the "-p" option. However, it
> doesn't work :
> /opt/drbl/sbin/drbl-ocs -b -g auto -e1 auto -e2 -r -x -j2 \
> -p "/home/partimag/script1; /home/partimag/script2;
> /home/partimag/script3" \
> -h 184.108.40.206 -l fr_FR.UTF-8 startdisk restore
> 2011-10-24-img_debian508_vz_base sda
> My client displays the grub-like menu, and I get a menu "Entre shell /
> Start Clonezilla". When I don't specify the "-p" option, I don't have
> this problem.
> Any idea ?
> Thanks for your help,
> Grégoire Leroy
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@... Self-Assessment and learn
> about Cisco certifications, training, and career opportunities.
> Clonezilla-server-edition mailing list
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A