Page 1 of 1

A need to add another disk to linux node!

Posted: Fri Jul 28, 2017 5:01 am
by ohsanpao19988
i have a need to add another disk before node starting.The node needs the second disk to do some thing.
Now can only qemu create a disk and then add cmd to the node start configuration.
How can i do this automated ,maybe add some script?
Anybody knows?
Thanks!

Re: A need to add another disk to linux node!

Posted: Fri Jul 28, 2017 7:59 am
by Uldis (UD)
Details please, not clear totally what you want to do

Re: A need to add another disk to linux node!

Posted: Fri Jul 28, 2017 11:37 am
by ohsanpao19988
Uldis (UD) wrote:
Fri Jul 28, 2017 7:59 am
Details please, not clear totally what you want to do
In the add a new node page, qemu custom options,the node needs a second disk to load, like -drive file=test.qcow2.
Every time i need to create a disk and then add the upper command.
I mean how to automatically create a disk and do the upper things!
Thanks for your reply.