Need reference heat template to create manual partition of instance.

asked 2019-08-06 02:08:43 -0600

Sumit1269 gravatar image

Hi Is it possible to create manual partitioning of vm with the help of heat template.If yes,then please share reference heat template or document in which it explained. I have requirement to create separate file-system and mount point for /,/run,/boot,/home and so on.

edit retag flag offensive close merge delete

Comments

Set instance property diskconfigto MANUAL to avoid using up all storage. Then use https://cloudinit.readthedocs.io/en/l....

Bernd Bausch gravatar imageBernd Bausch ( 2019-08-07 22:16:01 -0600 )edit

Hi Bernd,Thanks for this relevant document.If possible can you please give some brief idea or share some working template for my reference.I am not able to create exact template which fulfill my requirement.

Sumit1269 gravatar imageSumit1269 ( 2019-08-14 03:56:01 -0600 )edit

I have never done this, so unfortunately that would require some development and experimentation. I would create a YAML file as suggested by the referenced documentation and manually launch an instance with it. When it works, it's easy to transfer that to a template.

Bernd Bausch gravatar imageBernd Bausch ( 2019-08-14 06:52:09 -0600 )edit

Hi Bernd,It will be very helpful for me if you share your YAML file which you prepared by referring suggested document. Once you share,i will try to manually launch an instance in my lab.

Sumit1269 gravatar imageSumit1269 ( 2019-08-14 07:40:04 -0600 )edit

I meant the YAML file at https://cloudinit.readthedocs.io/en/l.... I did not write it.

Bernd Bausch gravatar imageBernd Bausch ( 2019-08-14 09:49:52 -0600 )edit