More run command, autocomplete, nodes detected

This commit is contained in:
Vincent Fiduccia 2018-02-06 10:41:13 -07:00
parent b2d925c398
commit b377ca65d1
No known key found for this signature in database
GPG Key ID: 2B29AD6BB2BB2582
4 changed files with 10 additions and 3 deletions

View File

@ -10,8 +10,10 @@ export function initialize(/*application */) {
Checkbox.reopen(SafeStyle);
// Disable iOS auto-capitalization
//
TextField.reopen({
attributeBindings: ['autocapitalize','spellcheck','autocomplete'],
autocomplete: 'off',
autocapitalize: 'none',
});
}

View File

@ -11,14 +11,14 @@
</div>
</div>
<div>
{{input type="text" id="login-username" class="form-control login-user" value=username placeholder=(t 'loginUserPass.userPlaceholder')}}
{{input type="text" id="login-username" autocomplete="username" class="form-control login-user" value=username placeholder=(t 'loginUserPass.userPlaceholder')}}
</div>
</div>
<div class="pt-15 pb-30">
<label>{{t 'loginUserPass.passwordLabel'}}</label>
<div>
{{input id="login-password" type="password" class="form-control login-pass" value=password}}
{{input id="login-password" autocomplete="password" type="password" class="form-control login-pass" value=password}}
</div>
</div>

View File

@ -95,7 +95,7 @@ export default Component.extend(Driver, {
roleFlags = ' --' + role.join(' --');
}
let out = `docker run -v /var/run/docker.sock:/var/run/docker.sock --net=host ${image}${roleFlags} --server ${url} --token ${token} --ca-checksum ${checksum}`;
let out = `docker run -d --restart=unless-stopped -v /var/run/docker.sock:/var/run/docker.sock --net=host ${image}${roleFlags} --server ${url} --token ${token} --ca-checksum ${checksum}`;
const labels = get(this, 'labels')||{};
Object.keys(labels).forEach((key) => {

View File

@ -3434,6 +3434,11 @@ machine:
label: Region
driverCustom:
detected: |
{count, plural,
=1 {# new node has registered}
other {# new nodes have registered}
}
command:
instructions: 'Run this command on an existing machine already running a supported version of Docker.'
ssh: