I have been trying to deploy an OVA to AWS. And came across a strange problem. AWS looks for file with name 'grub.conf' in all partitions and doesn't deploy OVA if multiple files exist with name 'grub.conf' in any location. It shows something like this:
{
"Status": "deleted",
"SnapshotDetails": [
{
"UserBucket": {
"S3Bucket": "bucket",
"S3Key": "dir/aws.ova"
},
"DiskImageSize": 29947222016.0,
"Format": "VMDK"
}
],
"Description": "grub test1",
"StatusMessage": "ClientError: Multiple different grub/menu.lst files found ["/usr/local/cold-inject-mounts/vol-xxxxxx/-dev-xvdf1/grub/grub.conf", "/boot/grub/grub.conf", "/usr/local/cold-inject-mounts/vol-xxxxx/-dev-xvdf2/boot/grub/grub.conf"]",
"ImportTaskId": "import-ami-ffi914em"
}
This image had centos 5 in it. There is only one disk with three partition in it (sda1/2/3). I am wondering why doesn't it look into the deafault grub location instead scaning whole disk for file named 'grub.conf'?
Any inputs or work around for this?
Thanks in advance.
Recent Questions...
ما را در سایت Recent Questions دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 709
تاريخ: پنجشنبه
21 مرداد
1395 ساعت: 14:34