die$THIS_FILE." ".__LINE__."; UUID cache file: [".$an->data->{path}{data}{host_uuid}."] doesn't exists and we're not running as root. Unable to proceed.\n";
}
}
else
else
{
{
@ -388,6 +390,21 @@ sub host_uuid
if($an->Validate->is_uuid({uuid=>$uuid}))
if($an->Validate->is_uuid({uuid=>$uuid}))
{
{
$an->data->{HOST}{UUID}=$uuid;
$an->data->{HOST}{UUID}=$uuid;
if(not-e$an->data->{path}{data}{host_uuid})
{
### TODO: This will need to set the proper SELinux context.
# Apache run scripts can't call the system UUID, so we'll write it to a text