|
|
@ -209,15 +209,6 @@ UsersViewStep::setConfigurationMap( const QVariantMap& configurationMap )
|
|
|
|
m_widget->setPasswordCheckboxVisible( getBool( configurationMap, "allowWeakPasswords", false ) );
|
|
|
|
m_widget->setPasswordCheckboxVisible( getBool( configurationMap, "allowWeakPasswords", false ) );
|
|
|
|
m_widget->setValidatePasswordDefault( !getBool( configurationMap, "allowWeakPasswordsDefault", false ) );
|
|
|
|
m_widget->setValidatePasswordDefault( !getBool( configurationMap, "allowWeakPasswordsDefault", false ) );
|
|
|
|
|
|
|
|
|
|
|
|
QString shell( QLatin1String( "/bin/bash" ) ); // as if it's not set at all
|
|
|
|
|
|
|
|
if ( configurationMap.contains( "userShell" ) )
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
shell = CalamaresUtils::getString( configurationMap, "userShell" );
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// Now it might be explicitly set to empty, which is ok
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Calamares::JobQueue::instance()->globalStorage()->insert( "userShell", shell );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
using Action = SetHostNameJob::Action;
|
|
|
|
using Action = SetHostNameJob::Action;
|
|
|
|
|
|
|
|
|
|
|
|
QString hostnameActionString = CalamaresUtils::getString( configurationMap, "setHostname" );
|
|
|
|
QString hostnameActionString = CalamaresUtils::getString( configurationMap, "setHostname" );
|
|
|
|