Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ncm-opennebula/src/main/perl/OpenNebula/AII.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
use NCM::Component::OpenNebula::Server qw($ONEADMIN_USER);
use Readonly;
use EDG::WP4::CCM::TextRender;
use NCM::Component::ks qw (ksinstall_rpm);

Readonly my $MINIMAL_ONE_VERSION => version->new("4.8.0");
Readonly my $AII_OPENNEBULA_CONFIG => "/etc/aii/opennebula.conf";
Expand Down Expand Up @@ -278,8 +279,9 @@ sub aii_post_reboot
my ($self, $config, $path) = @_;
my $tree = $config->getElement($path)->getTree();

my @rpmlist = ('acpid');
ksinstall_rpm($config, @rpmlist);
print <<EOF;
yum -c /var/tmp/aii/yum/yum.conf -y install acpid
service acpid start
EOF
}
Expand Down
Loading