mirror of
https://github.com/optim-enterprises-bv/control-pane.git
synced 2025-11-02 19:07:59 +00:00
fix vm_os_type args
This commit is contained in:
@@ -1337,13 +1337,18 @@ class ClonOS {
|
|||||||
$os_items=$os_types[$os_num]['items'][$item_num];
|
$os_items=$os_types[$os_num]['items'][$item_num];
|
||||||
$os_type=$os_items['type'];
|
$os_type=$os_items['type'];
|
||||||
|
|
||||||
|
//echo '<pre>';print_r($os_types_obtain);exit;
|
||||||
|
|
||||||
// os select
|
// os select
|
||||||
list($one,$two)=explode('.',$sel_os,2);
|
list($one,$two)=explode('.',$sel_os,2);
|
||||||
|
|
||||||
if(isset($os_types_obtain[$one]))
|
if(isset($os_types_obtain[$one]))
|
||||||
{
|
{
|
||||||
if(isset($os_types_obtain[$one]['items'][$two]))
|
if(isset($os_types_obtain[$one]['items'][$two]))
|
||||||
|
{
|
||||||
$os_profile=$os_types_obtain[$one]['items'][$two]['profile'];
|
$os_profile=$os_types_obtain[$one]['items'][$two]['profile'];
|
||||||
|
$os_type=$os_types_obtain[$one]['items'][$two]['type'];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$key_name='/usr/home/olevole/.ssh/authorized_keys';
|
$key_name='/usr/home/olevole/.ssh/authorized_keys';
|
||||||
|
|||||||
Reference in New Issue
Block a user