
TO ALL. Please give followable instructions, avoid vague words. It's all about details in programming technology. On Tue, Dec 29, 2020 at 11:52:51AM +0800, Luan Shengde wrote:
the default yaml file will contain:
What's the exact "default yaml file"?
my_email my_name lab lab is used to read the lab yaml according to its value. example: if the value of lab is 'z9', the sched will read token from file: z9.yaml
What's the exact path of "z9.yaml"? Thanks, Fengguang
Signed-off-by: Luan Shengde <shdluan@163.com> --- container/assign-account/get_account_info.rb | 1 + 1 file changed, 1 insertion(+)
diff --git a/container/assign-account/get_account_info.rb b/container/assign-account/get_account_info.rb index af08d91..7e0a5a7 100755 --- a/container/assign-account/get_account_info.rb +++ b/container/assign-account/get_account_info.rb @@ -173,6 +173,7 @@ class AccountStorage # they are added along with 'my_ssh_pubkey' when sending assign account request account_yaml['my_email'] = @data['my_email'] account_yaml['my_name'] = @data['my_name'] + account_yaml['lab'] = @data['lab']
File.open(default_yaml, 'w') do |f| f.puts account_yaml.to_yaml -- 2.23.0