Public bug reported:

When I run the automated installer I always end up with a fresh system I
cannot login to. The default user ubuntu has its password locked.

I tested this using the minimalistic example from the [wiki][1], latest
Focal and virtualbox.

cat > user-data << 'EOF'
#cloud-config
autoinstall:
  version: 1
  identity:
    hostname: ubuntu-server
    password: 
"$6$exDY1mhS4KUYCE/2$zmn9ToZwTKLhCw.b4/b.ZRTIZM30JZ4QrOQ2aOXJ8yk96xpcCof0kxKwuX1kqLG/ygbJ1f8wxED22bTL4F46P0"
    username: ubuntu
EOF
touch meta-data

cloud-localds ~/seed.iso user-data meta-data

I tried to get in using these ways, too:

1. Adding a SSH key to an additional `ssh` section did not help as well.
2. Configuring a user in user-data did not work as well.

Actually, no settings from the `user-data` section work but
configuration from the storage and network sections works like a charm.

[1]:
https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls/QuickStart#Using_another_volume_to_provide_the_autoinstall_config

** Affects: subiquity (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  When I run the automated installer I always end up with a fresh system I
- cannot login to. The default user ubuntu has it's password locked.
+ cannot login to. The default user ubuntu has its password locked.
  
  I tested this using the minimalistic example from the [wiki][1], latest
  Focal and virtualbox.
  
  cat > user-data << 'EOF'
  #cloud-config
  autoinstall:
-   version: 1
-   identity:
-     hostname: ubuntu-server
-     password: 
"$6$exDY1mhS4KUYCE/2$zmn9ToZwTKLhCw.b4/b.ZRTIZM30JZ4QrOQ2aOXJ8yk96xpcCof0kxKwuX1kqLG/ygbJ1f8wxED22bTL4F46P0"
-     username: ubuntu
+   version: 1
+   identity:
+     hostname: ubuntu-server
+     password: 
"$6$exDY1mhS4KUYCE/2$zmn9ToZwTKLhCw.b4/b.ZRTIZM30JZ4QrOQ2aOXJ8yk96xpcCof0kxKwuX1kqLG/ygbJ1f8wxED22bTL4F46P0"
+     username: ubuntu
  EOF
  touch meta-data
  
  cloud-localds ~/seed.iso user-data meta-data
  
  I tried to get in using these ways, too:
  
  1. Adding a SSH key to an additional `ssh` section did not help as well.
  2. Configuring a user in user-data did not work as well.
  
  Actually, no settings from the `user-data` section work but
  configuration from the storage and network sections works like a charm.
  
- 
- [1]: 
https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls/QuickStart#Using_another_volume_to_provide_the_autoinstall_config
+ [1]:
+ 
https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls/QuickStart#Using_another_volume_to_provide_the_autoinstall_config

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to