New Question

Revision history [back]

click to hide/show revision 1
initial version

Sure:

#ps1_sysnative

# The Telnet server needs to be enabled
install-windowsfeature "telnet-server"
install-windowsfeature "telnet-client"
install-windowsfeature -name AD-Domain-Services -IncludeManagementTools

cmd /C netsh advfirewall set allprofiles state off
cmd /C tlntadmn config maxconn=1024

cmd /C net localgroup /add telnetclients "authenticated users"
cmd /C sc config tlntsvr start=auto
cmd /C sc start tlntsvr

We're saving that to a file called "userdata.txt" then giving it to Nova as: nova boot ... --user-data userdata.txt

If we just save that into a file on our Linux boxes, it fails. If I run todos userdata.txt before doing the boot, then it works.

Cheers, Andrew