host_install_recipe_create
host_installer_path
host_installcmdline_core
+ host_vg_name
);
%EXPORT_TAGS = ( );
}
}
+sub host_vg_name ($) {
+ my ($ho) = @_;
+ if ($ho->{OS} eq "debian") {
+ return \&Osstest::Debian::di_vg_name;
+ } elsif (is_host_redhat_derived($ho)) {
+ return \&Osstest::RedHat::ks_vg_name;
+ } else {
+ die "Unknown OS $ho->{OS}";
+ }
+}
+
1;
await_tcp(get_timeout($ho,'reboot',$timeout{Sshd}), 14,$ho);
- our $vgname = di_vg_name($ho);
+ our $vgname = host_vg_name($ho)->($ho);
if ($ho->{Suite} =~ m/lenny/) {
target_editfile_root($ho, '/boot/grub/menu.lst', sub {