[SOLVED] Change Disk Model of VM & Add space in disk model name

@sharp

New Member
Nov 16, 2022
5
1
3
I am having this problem with Disk Model
for example i want to add "Storage Device" or "WDC Disk" as model
how to insert space between diskmodel name?? % is doing this
ide0: local-lvm:vm-100-disk-0,aio=native,backup=0,size=30828135K,model=Storage%Device,serial=582542
I ended up with this
1668634671649.png
 
You could test it with ide0: local-lvm:vm-100-disk-0,aio=native,backup=0,size=30828135K,model='Storage Device',serial=582542.
That how you usually handle strings with spaces when using linux.
 
You could test it with ide0: local-lvm:vm-100-disk-0,aio=native,backup=0,size=30828135K,model='Storage Device',serial=582542.
That how you usually handle strings with spaces when using linux.
Already did that, not working
by doing this disk is not showing in VM Hardware
 
I have done that, successfully with %20
instead of space just type %20 inbetween disk model name
ide0: local-lvm:vm-100-disk-0,backup=0,size=30828135K,model=Storage%20Device,serial=582542
1668645517279.png
Note: Model parameter only works with ide drive
Serial parameter works with any drive
 
Last edited:
  • Like
Reactions: Dunuin