We use usernames different than "rhizome" for VMs and we create Sshables for VMs in the CI tool. Previously Sshable assumed a fixed "rhizome" username. This PR makes that configurable. One restriction is that we can only specify one ssh user per host as it has a unique constraint.
10 lines
194 B
Ruby
10 lines
194 B
Ruby
# frozen_string_literal: true
|
|
|
|
Sequel.migration do
|
|
change do
|
|
alter_table(:sshable) do
|
|
add_column :unix_user, :text, collate: '"C"', null: false, default: "rhizome"
|
|
end
|
|
end
|
|
end
|