# Packer Ubuntu server 20.04.6 live server keeps prompting for install conformation

**URL:** <https://discuss.hashicorp.com/t/packer-ubuntu-server-20-04-6-live-server-keeps-prompting-for-install-conformation/54064>\
**Category:** Packer\
**Created:** [May 22, 2023, 3:17pm UTC](https://discuss.hashicorp.com/t/packer-ubuntu-server-20-04-6-live-server-keeps-prompting-for-install-conformation/54064 "2023-05-22T15:17:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![smain59](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/smain59/32/35830_2.png) [@smain59](https://discuss.hashicorp.com/u/smain59)\
**Post date:** [May 22, 2023, 3:17pm UTC](https://discuss.hashicorp.com/t/packer-ubuntu-server-20-04-6-live-server-keeps-prompting-for-install-conformation/54064/1 "2023-05-22T15:17:52Z")

</div>

I am trying to setup an unattended installation (building a VMWare template) with Packer and Ubuntu 20.04.6 live server, using an autoinstall user-data config file.  
The problem is that the Ubuntu installation prompt for confirmation, despite of my user-data file.

The message is:  
“Add autoinstall to your kernel command line to avoid this.  
Continue with autoinstall? (yes/no)”

Help please!

---

<div class="post-metadata">

**Author:** ![id.hashicorp.com](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/id.hashicorp.com/32/37575_2.png) [@id.hashicorp.com](https://discuss.hashicorp.com/u/id.hashicorp.com)\
**Post date:** [August 23, 2023, 7:43pm UTC](https://discuss.hashicorp.com/t/packer-ubuntu-server-20-04-6-live-server-keeps-prompting-for-install-conformation/54064/2 "2023-08-23T19:43:25Z")

</div>

This indicates you need to add “autoinstall” to the _boot\_command_ of the source in your packer file.

---

<div class="post-metadata">

**Author:** ![subramanian.swaminat](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@subramanian.swaminat](https://discuss.hashicorp.com/u/subramanian.swaminat)\
**Post date:** [May 2, 2024, 9:08am UTC](https://discuss.hashicorp.com/t/packer-ubuntu-server-20-04-6-live-server-keeps-prompting-for-install-conformation/54064/3 "2024-05-02T09:08:20Z")

</div>

I have the below configuration, but still failing.

“boot\_command”: [  
“”,  
“”,  
"/casper/vmlinuz ",  
"root=/dev/sr0 ",  
"initrd=/casper/initrd ",  
"autoinstall ",  
“ds=nocloud-net;”,  
“”  
]
