New Question

'Windows' restarts during pre-installed of 'MSSQL'

asked 2019-04-09 20:12:24 +0300

I am creating an image of Windows server 2016 with MS SQL Standard 2016

Hi, I have a script that ends the installation of MSSQL using the 'SetupComplete' of 'cloud-init'. But after the first startup, the system performs a reboot, canceling the installation of MSSQL

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2019-04-24 20:35:58 +0300

I have to provide images of Windows Server 2016 with MSSQL Standard, but the database inside MSSQL must have the same host name, this is set in the MSSQL installation.

I use a script that completes the MSSQL installation after the first instance initialization.

With this, I have a problem, if the client sets the administrator password once the instance finishes the first settings, the instance will be restarted, canceling the installation of MSSQL.

If the client waits 5 minutes to set the administrator password, the MSSQL installation will complete successfully.

Could I explain? thank you for your attention

edit flag offensive delete link more

answered 2019-04-18 02:52:31 +0300

avladu gravatar image


Can you give more details on your workflow?

It is not clear how you installed the MSSQL.

On another note, we have an OpenStack Heat example on how to deploy MSSQL using cloudbase-init as an instance init service:

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2019-04-09 20:12:24 +0300

Seen: 284 times

Last updated: Apr 24 '19