Advertisement
Guest User

Untitled

a guest
Feb 16th, 2020
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. cloudbase-init
  2. add meta data service if missing
  3. metadata_services=cloudbaseinit.metadata.services.configdrive.ConfigDriveService
  4.  
  5. add the plugins you need
  6. for mine i have
  7. plugins=cloudbaseinit.plugins.common.mtu.MTUPlugin,cloudbaseinit.plugins.common.sethostname.SetHostNamePlugin,cloudbaseinit.plugins.windows.extendvolumes.ExtendVolumesPlugin
  8.  
  9. you may also what set password and create user
  10. cloudbaseinit.plugins.windows.createuser.CreateUserPlugin
  11. cloudbaseinit.plugins.windows.setuserpassword.SetUserPasswordPlugin
  12.  
  13.  
  14. cloudbase-init-unattend
  15. edit meta data services
  16. metadata_services=cloudbaseinit.metadata.services.configdrive.ConfigDriveService
  17.  
  18. nothing to do on the plugins here
  19.  
  20. Now system prep the image
  21. cd C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf
  22. C:\Windows\System32\sysprep\sysprep.exe /generalize /oobe /unattend:Unattend.xml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement