Advertisement
Guest User

data

a guest
Nov 15th, 2021
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. // user data
  2. #ps1
  3. net user MojtabaAlinezhad 123456 /add
  4. net localgroup administrators MojtabaAlinezhad /add
  5. net user windows /delete
  6. net user Admin /delete
  7. Set-TimeZone -Name "Iran Standard Time"
  8. Rename-Computer -NewName "MojtabaAlinezhad" -Restart -Force
  9.  
  10. // meta-data
  11. instance-id: kvm-windows
  12. hostname: MojtabaAlinezhad
  13.  
  14. // network-config
  15. version: 1
  16. config:
  17. - type: physical
  18. name: eth0
  19. subnets:
  20. - type: static
  21. address: 192.168.122.120/24
  22. gateway: 192.168.122.1
  23. - type: vlan
  24. name: eth0.101
  25. vlan_link: eth0
  26. vlan_id: 100
  27. - type: nameserver
  28. address:
  29. - 8.8.8.8
  30. - 4.2.2.4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement