I believe what you really want to do is

1) Make your KVM
2) Do the Windows installation
3) Make your general Windows setup, removing unneeded stuff from the install 
and do your customization
4) Clone your KVM
5) Make new clones from your clone

G

On 29 Oct, 2016, at 10:52, 杨武 <[email protected]> wrote:

>  hi,all
> 
>   I want to inject password when creating  a  KVM windows  virtual machine.
> 
>   Here is  KVM windows  json file :
> 
> {
>   "brand": "kvm",
>   "resolvers": [
>     "208.67.222.222",
>     "8.8.4.4"
>   ],
>   "ram": "6144",
>   "vcpus": "4",
>   "nics": [
>     {
>       "nic_tag": "admin",
>       "ip": "10.75.1.124",
>  "gateway": "10.75.1.1",
>       "netmask": "255.255.255.0",
>       "model": "virtio",
>       "primary": true
>     }
>   ],
>   "customer_metadata": {
>   "administrator-pw": "123456"
> },
>   "disks": [
>     {
>       "image_uuid": "42fe0b48-77e4-11e5-b784-ff69edef1607",
>       "boot": true,
>       "model": "virtio"
>     }
>   ]
> }
> 
> 
>  I  have injected  password successfully for  KVM centos  virtual machine.
> 
> But creating  windows  virtual machine,  inject password failed.
> 
> Looking forward to your reply,thanks.
> 
> <pastedImage.png>
> 
> 
> 
> 
> 杨武
> 
> 电话:18501603354
> smartos-discuss | Archives  | Modify Your Subscription

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail




-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to