Configuration through RestAPI Console

Open the RAILS console

$ nodeumctl rails c

User Configuration

Change the default password of admin user

> user = Api::V2::User.all.where("username = 'admin'")
 => #<ActiveRecord::Relation [#<Api::V2::User id: 1, user_id: 1032, group_id: nil, 
 is_active: 1, is_admin: true, username: "admin", email: "nodeum@localhost", 
 key_id: 0, vector: "no-cipher", created_at: "2019-12-13...
> user.update(password: 'newpassword')
 => [#<Api::V2::User email: "nodeum@localhost", id: 1, user_id: 1032, group_id: nil, 
 is_active: 1, is_admin: true, username: "admin", key_id: 0, vector: "no-cipher", 
 created_at: "2019-12-13 11:46:30.000000000 +0000", updated_at: "2023-03-23 
 15:56:21.000000000 +0000", provider: nil, uid: nil>]

Storage Configuration

Create a new ‘Mounted File System connector’

Mandatory : name: ; type: :undefined

Save

Create a new ‘Swift connector’

Mandatory : name ; provider: ":openstack_swift”

Save

Last updated

Was this helpful?