parent
1184229c4a
commit
8949b079e1
@ -820,7 +820,19 @@ Config::setConfigurationMap( const QVariantMap& configurationMap )
|
|||||||
m_hostNameActions = getHostNameActions( configurationMap );
|
m_hostNameActions = getHostNameActions( configurationMap );
|
||||||
|
|
||||||
setConfigurationDefaultGroups( configurationMap, m_defaultGroups );
|
setConfigurationDefaultGroups( configurationMap, m_defaultGroups );
|
||||||
m_doAutoLogin = CalamaresUtils::getBool( configurationMap, "doAutoLogin", false );
|
|
||||||
|
// Renaming of Autologin -> AutoLogin in 4ffa79d4cf also affected
|
||||||
|
// configuration keys, which was not intended. Accept both.
|
||||||
|
const auto oldKey = QStringLiteral( "doAutologin" );
|
||||||
|
const auto newKey = QStringLiteral( "doAutoLogin" );
|
||||||
|
if ( configurationMap.contains( oldKey ) )
|
||||||
|
{
|
||||||
|
m_doAutoLogin = CalamaresUtils::getBool( configurationMap, oldKey, false );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
m_doAutoLogin = CalamaresUtils::getBool( configurationMap, newKey, false );
|
||||||
|
}
|
||||||
|
|
||||||
m_writeRootPassword = CalamaresUtils::getBool( configurationMap, "setRootPassword", true );
|
m_writeRootPassword = CalamaresUtils::getBool( configurationMap, "setRootPassword", true );
|
||||||
Calamares::JobQueue::instance()->globalStorage()->insert( "setRootPassword", m_writeRootPassword );
|
Calamares::JobQueue::instance()->globalStorage()->insert( "setRootPassword", m_writeRootPassword );
|
||||||
|
Loading…
Reference in New Issue
Block a user