Server Autoconfig

Tom H tomh0665 at gmail.com
Tue Jul 7 16:43:48 UTC 2020


On Tue, Jul 7, 2020 at 10:30 AM Adam Barnett <adambarnett52 at gmail.com> wrote:


> I am using the autoconfig (https://ubuntu.com/server/docs/install/autoinstall-reference#identity)
>
> But i am struggling with two bits
>
> 1. The harddrive layout
>
> I am currently have the following:
>
>   storage:
>     layout:
>       name: lvm
>
> But that sets / as being 3.4 GB ( it is 150gb ) drive. how can i
> make it use more of the drive?

You can use "size: -1" to use the largest size possible.


> 2. Set the hostname from DHCP
>
> i have set
>
> identity:
>     hostname: focal-autoisntall
>
> But i would prefer to get the hostname from dhcp, how can i do that

What happens if you don't set "hostname:"? Or set "hostname: ''"?




More information about the ubuntu-users mailing list