[Bug 1879485] Re: Automated Install does not set default user data
*** This bug is a duplicate of bug 1879103 *** https://bugs.launchpad.net/bugs/1879103 Hi, thanks for the reproduction script. This turns out to be the same as this bug https://bugs.launchpad.net/subiquity/+bug/1879103. ** This bug has been marked a duplicate of bug 1879103 Unattended installation user data conflict -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879485 Title: Automated Install does not set default user data To manage notifications about this bug go to: https://bugs.launchpad.net/subiquity/+bug/1879485/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879485] Re: Automated Install does not set default user data
Unfortunately, I still cannot login after running the installer. You can replicate what I did with Virtualbox using this script: https://gist.github.com/wedi/cba7465ee8280c0e75f94d2ef024a82e Probably you'll need to switch from Apple's hdiutil to cloud-localds or similar to create the seed image. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879485 Title: Automated Install does not set default user data To manage notifications about this bug go to: https://bugs.launchpad.net/subiquity/+bug/1879485/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879485] Re: Automated Install does not set default user data
I've committed the fix that sets the lock_passwd key instead of the lock-passwd key, so if you can test with: refresh-installer: channel: edge update: yes in your config, I would appreciate it. I still don't understand at all why nocloud vs nocloud-net makes a difference. It really shouldn't! ** Changed in: subiquity Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879485 Title: Automated Install does not set default user data To manage notifications about this bug go to: https://bugs.launchpad.net/subiquity/+bug/1879485/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879485] Re: Automated Install does not set default user data
** Also affects: subiquity Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879485 Title: Automated Install does not set default user data To manage notifications about this bug go to: https://bugs.launchpad.net/subiquity/+bug/1879485/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879485] Re: Automated Install does not set default user data
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: subiquity (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879485 Title: Automated Install does not set default user data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1879485/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879485] Re: Automated Install does not set default user data
Looks like this bug affects the NoCloud provider with a seed file system. It does work well when downloading the config with nocloud-net. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879485 Title: Automated Install does not set default user data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1879485/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879485] Re: Automated Install does not set default user data
I tried to work around this bug by preconfiguring everything but ask for the user. This does not work as well. #cloud-config autoinstall: version: 1 interactive-sections: - identity identity: hostname: ubuntu-server password: "$6$exDY1mhS4KUYCE/2$zmn9ToZwTKLhCw.b4/b.ZRTIZM30JZ4QrOQ2aOXJ8yk96xpcCof0kxKwuX1kqLG/ygbJ1f8wxED22bTL4F46P0" username: ubuntu Then I tried to work around this bug by creating a user using user-data but this does not work as well. After installation, there is no user 'testuser', just a deactivated 'ubuntu' user. #cloud-config autoinstall: version: 1 identity: hostname: ubuntu-server password: "$6$exDY1mhS4KUYCE/2$zmn9ToZwTKLhCw.b4/b.ZRTIZM30JZ4QrOQ2aOXJ8yk96xpcCof0kxKwuX1kqLG/ygbJ1f8wxED22bTL4F46P0" username: ubuntu user-data: timezone: Europe/Berlin users: - name: testuser password: "$6$exDY1mhS4KUYCE/2$zmn9ToZwTKLhCw.b4/b.ZRTIZM30JZ4QrOQ2aOXJ8yk96xpcCof0kxKwuX1kqLG/ygbJ1f8wxED22bTL4F46P0" lock_passwd: false groups: users, adm In addition, the seed configuration yaml is not recognized when it's not prepended with '#cloud-config' (n.b. a random comment or yaml node might be sufficient as well, I haven't tested these cases). I guess this is another bug? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879485 Title: Automated Install does not set default user data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1879485/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879485] Re: Automated Install does not set default user data
I think the mistake in subiquity is that subiquity generates this in the user-data: lock-passwd: false but cloud-init looks for "lock_passwd". But now I don't understand how this ever works, i.e. why all users created by subiquity do not get their accounts locked. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879485 Title: Automated Install does not set default user data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1879485/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879485] Re: Automated Install does not set default user data
I have attached all mentioned files. Just mounted the drive into another virtual machine. I can provide more if needed. ** Attachment added: "logs.tar.gz" https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1879485/+attachment/5374742/+files/logs.tar.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879485 Title: Automated Install does not set default user data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1879485/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879485] Re: Automated Install does not set default user data
This is very strange. Can you get /var/log/installer from the installed system somehow? (I guess you need to boot as single user to set the password for ubuntu first!) I guess /var/lib/cloud and /var/log/cloud- init* would be interesting too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879485 Title: Automated Install does not set default user data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1879485/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs