cloudbase / windows-imaging-tools

Tools to automate the creation of a Windows image for OpenStack, supporting KVM, Hyper-V, ESXi and more.
Apache License 2.0
675 stars 227 forks source link

Creating config.ini #251

Closed danboid closed 5 years ago

danboid commented 5 years ago

One of the comments in the README states:

"# Create a config.ini file using the built in function, then set them accordingly to your needs"

Create a config.ini using which built in function? Function of what? How?

Please make this step clearer in the README. If an external tool is required to create config.ini, please link to it.

ader1990 commented 5 years ago

Hello,

The script automates the config file generation too:

# Create a config.ini file using the built in function, then set them accordingly to your needs
$ConfigFilePath = ".\config.ini"
# this is the built-in function
New-WindowsImageConfig -ConfigFilePath $ConfigFilePath
danboid commented 5 years ago

Thanks @ader1990, I've never really used powershell so I didn't know what I was looking at. I've got it outputting the ini file now.

ader1990 commented 5 years ago

@danboid Let me know if there is a problem and how to modify in the docs and I ll make a PR with the change. Thank you.

danboid commented 5 years ago

Will do!

I'll be trying to generate the image tomorrow after configuring the ini. I will be able to do that under Windows 10 Ent. I hope ie I don't need to run these scripts under Windows Server (for HyperV) do I?

ader1990 commented 5 years ago

You should be able to run it fine as long as https://github.com/cloudbase/windows-openstack-imaging-tools#requirements are met.