All,
I am trying to make mkrecoveryISO work with SystemImager 3.2.3. I am also new to perl, so this is proving to be a bit of a challenge. If there a working version of mkrecoveryISO for version 3.2.3 available, can you please send me a link, and I will stop reinventing the wheel.
In the mean time I have worked through the differences between 2.0's systemimager.conf variables and those used in 3.2.3.
my $config = AppConfig->new(
'autoinstall_script_dir' => { ARGCOUNT => 1 },
'autoinstall_boot_dir' => { ARGCOUNT => 1 },
'default_image_dir' => { ARGCOUNT => 1 },
'rsyncd_conf' => { ARGCOUNT => 1 },
'rsync_stub_dir' => { ARGCOUNT => 1 },
'tftp_dir' => { ARGCOUNT => 1 },
'net_boot_default' => { ARGCOUNT => 1 },
'config_dir' => { ARGCOUNT => 1 },
);
Now if I run:
./mkrecoveryISO.for323 -image clientv1 -compress
an error is returned:
Use of uninitialized value in pattern match (m//) at ./mkrecoveryISO.for323 line 528.
Line 528 is:
while ($master[0] !~ /END EXAMPLE/) { shift(@master); } shift(@master);
Reading the comments in the script, it appears this section is looking for a specific format in the ".master" file. First is this a correct assumption? Does someone have a version of the 2.0 .master file.
Thank you.
Steve
Disclaimer: The information contained in this communication is confidential and only for the use of the intended addressee(s). If you have received this communication in error, any disclosure or use of such information is strictly prohibited. Please notify the sender immediately and destroy all copies. Thank you.
