SHARE
TWEET

Untitled

a guest Feb 16th, 2020 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top