0
当使用无业游民了,密码总是输入不正确,我Vagrantfile文件:当使用无业游民了,密码总是输入错误
Vagrant.configure(2) do |config|
config.vm.define "k8s-ctl" do |c|
config.vm.box = "ubuntu/xenial64"
config.ssh.username = "myhtls"
config.ssh.password = "123456"
config.ssh.insert_key = false
c.vm.network "public_network"
end
config.vm.define "k8s-master" do |c|
config.vm.box = "ubuntu/xenial64"
config.ssh.username = "myhtls"
config.ssh.password = "123456"
config.ssh.insert_key = false
c.vm.network "public_network"
end
end
在文档中输入命令无业游民了起来:
Bringing machine 'k8s-ctl' up with 'virtualbox' provider...
Bringing machine 'k8s-master' up with 'virtualbox' provider...
==> k8s-ctl: Importing base box 'ubuntu/xenial64'...
==> k8s-ctl: Matching MAC address for NAT networking...
==> k8s-ctl: Checking if box 'ubuntu/xenial64' is up to date...
==> k8s-ctl: Setting the name of the VM: deploy_k8s-ctl_1505998038511_39277
k8s-ctl: SSH address: 127.0.0.1:2222
k8s-ctl: SSH username: myhtls
k8s-ctl: SSH auth method: password
[email protected]'s password:
我输入密码123456,一直无法让我通过,是什么原因?
不能通过密码的原因是什么,请问如何解决这个问题。
您是否在VM中创建了这些用户?如果不是,你不应该假设它们存在 –
未创建,如何创建? – htl
在google中搜索'在ubuntu中创建用户' –