mdt-install-package: Use -y form of install to prevent prompts

Change-Id: Ic74a8f2d03d1b111a3802ec29f0a59b70a210dec
diff --git a/debian/changelog b/debian/changelog
index 1b9db1b..846d219 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,7 +3,8 @@
   * Adjusting the mdt avahi service to advertise correctly.
   * Fixing the MDT servicename to match RFC requirements.
   * Making mdt-install-package only update the local repository.
-  
+  * Make mdt-install-package not prompt for confirmation.
+
  -- AIY Projects <support-aiyprojects@google.com>  Tue, 05 Feb 2019 11:12:41 -0800
 
 mdt-services (1-1) mendel-beaker; urgency=medium
diff --git a/usr/sbin/mdt-install-package b/usr/sbin/mdt-install-package
index bf4847c..c01e049 100755
--- a/usr/sbin/mdt-install-package
+++ b/usr/sbin/mdt-install-package
@@ -122,7 +122,7 @@
             -o Dir::Etc::SourceList="sources.list.d/00-mdt-services.list" \
             -o Dir::Etc::SourceParts="-"
 
-    apt-get install --reinstall $package_name
+    apt-get install -y --reinstall $package_name
 
     remove-package $package_to_install \
         || die failed to remove package from repository: $package