[Bug 1192178] New: AutoYaST <authorized_key> not working on openSUSE Tumbleweed
http://bugzilla.opensuse.org/show_bug.cgi?id=1192178 Bug ID: 1192178 Summary: AutoYaST <authorized_key> not working on openSUSE Tumbleweed Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Major Priority: P5 - None Component: AutoYaST Assignee: yast2-maintainers@suse.de Reporter: opensuse@wolke7.net QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 853443 --> http://bugzilla.opensuse.org/attachment.cgi?id=853443&action=edit /var/log/YaST2/*; /var/log/zypp/*; /var/log/zypper.log; etc. Hello, I'm making my own autoinst.xml files. Everything works fine but I cannot give a user authorized_keys file. After installing, I login and find there is no $HOME/.ssh/authorized_keys files, even no $HOME/.ssh folder. Below is part of autoinst.xml: <user t="map"> <username>user_name</username> <encrypted t="boolean">true</encrypted> <user_password>xxxxxxxxxxxx</user_password> <authorized_keys t="list"> <authorized_key>ssh-rsa xxxxxxxxxx</authorized_key> </authorized_keys> </user> Is there a bug that authorized_keys cannot be assigned in AutoYast? I search online finding someone else uses <chroot-scripts> to add authorized_key. eg:https://gist.github.com/ofrzeta/60d895d8ddbd581ac9f08b16c36ba6a9 which may confirm that <authorized_keys> in AutoYast doesn't work. Below I attach the log files: /etc/os-release /var/log/zypper.log /var/log/YaST2/* /var/log/zypp/* autoinst.xml Thank you. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1192178 Software System <opensuse@wolke7.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |opensuse@wolke7.net -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1192178 http://bugzilla.opensuse.org/show_bug.cgi?id=1192178#c4 --- Comment #4 from Software System <opensuse@wolke7.net> --- Created attachment 853484 --> http://bugzilla.opensuse.org/attachment.cgi?id=853484&action=edit save_y2logs /tmp/y2logs.tgz -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1192178 http://bugzilla.opensuse.org/show_bug.cgi?id=1192178#c5 --- Comment #5 from Software System <opensuse@wolke7.net> --- (In reply to Jos� Iv�n L�pez Gonz�lez from comment #2)
Reporter, could you please generate logs with save_y2logs and attach the result? Thanks!
https://en.opensuse.org/openSUSE:Report_a_YaST_bug#Attachments_-_y2logs. 2C_hwinfo_etc.
Sure. It's attached. I make the test in a Virtualbox VM with one existing os and then re-install openSUES. Steps below: cd /boot/ curl -L https://download.opensuse.org/tumbleweed/repo/oss/boot/x86_64/loader/linux --output inst-linux curl -L https://download.opensuse.org/tumbleweed/repo/oss/boot/x86_64/loader/initrd --output inst-initrd nano /etc/grub.d/40_custom menuentry "Install OpenSUSE" { set root='hd0,gpt2' linux /boot/inst-linux textmode=1 Keytable=german install=https://download.opensuse.org/tumbleweed/repo/oss/ autoyast=http://192.168.56.7/autoinst.xml initrd /boot/inst-initrd } grub2-mkconfig -o /boot/grub2/grub.cfg grub2-editenv - set saved_entry="Install OpenSUSE" grub2-editenv list reboot -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com