[refs #838] add new file_store system user
This commit is contained in:
parent
af73abbf31
commit
fa41834a2d
|
@ -4,8 +4,7 @@ ARCHES.each do |arch|
|
|||
Arch.find_or_create_by_name arch
|
||||
end
|
||||
|
||||
user = User.new uname: 'rosa_system', email: 'rosa_system@rosalinux.ru', password: SecureRandom.base64
|
||||
user.confirmed_at, user.role = Time.now.utc, 'system'; user.save
|
||||
|
||||
user = User.new uname: 'iso_worker_1', email: 'iso_worker_1@rosalinux.ru', password: SecureRandom.base64
|
||||
%w(rosa_system iso_worker_1 file_store).each do |uname|
|
||||
user = User.new uname: uname, email: "#{uname}@rosalinux.ru", password: SecureRandom.base64
|
||||
user.confirmed_at, user.role = Time.now.utc, 'system'; user.save
|
||||
end
|
Loading…
Reference in New Issue