Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
prepare-check-env: test-$(DEB)
rm -rf testdir
dpkg -X test-$(DEB) testdir
+ mkdir -p testdir/run/proxmox-installer/
cd-info.test: PRODUCT ?= pve
cd-info.test:
use File::Path;
use Time::HiRes;
use POSIX ":sys_wait_h";
+use JSON;
use Proxmox::Log;
Proxmox::Log::init("/tmp/install.log");
$html_data =~ s/$k/$v/g;
}
+ eval {
+ my $config = Proxmox::Install::Config::get();
+ file_write_all(
+ "$iso_env->{locations}->{run}/config-ack.json",
+ to_json($config, { utf8 => 1, canonical => 1 }) ."\n",
+ );
+ };
+ warn "failed to write config-for-ack - $@" if $@;
+
file_write_all($ack_html, $html_data);
Proxmox::UI::display_html('ack.htm');