(In reply to Richard Brown from comment #2) > It's running > > > create_autoyast_profile --salt-master $salt_master --smt-url $smt_url --regcode $regcode --reg-email $reg_email > > With the following variables > > > my $salt_master = 'fake-salt-master.com'; > > my $smt_url = 'http://fake.smt.com'; > > my $regcode = 'fake-reg-code'; > > my $reg_email = 'fake@fake.com'; > > my $autoinst_file = '/root/autoinst.xml'; > > The output of this is then being read with the following perl call > > > my $xml = XML::Simple->new; > > The error message "Only Comments, PIs and whitespace allowed at end of > document" suggests this is failing > > The test is written by Tomas - Tomas, do you have any suggestions what went > wrong here? I will check later (busy with CaaSP), maybe you can check content of $xml by something like this: > use Data::Dumper; ... > print STDOUT Dumper $xml; and then check autoinst-log.xml