As there might be a new config files in updated packages,
there is possiblity that apt-get will fail at `upgrade`.
Added 2 apt-get/dpkg options:
-o Dpkg::Options::="--force-confdef"
-o Dpkg::Options::="--force-confold"
From now on all conflicts will be resolved with an existing versions
of a config files.
Change-Id: Ia3baf77121aacf416742921fe15bdd8cecc96a31
"|| echo -e \"\\ndeb http://{0}:8080/updates/ubuntu "
"precise main\" >> /etc/apt/sources.list)\n"
"apt-get update\n"
- "apt-get upgrade -y\n".format(master_ip),
+ "apt-get -o Dpkg::Options::=\"--force-confdef\" -o "
+ "Dpkg::Options::=\"--force-confold\" -y "
+ "upgrade\n".format(master_ip),
'centos': "yum-config-manager --add-repo=http://{0}:8080/updates/"
"centos/os/x86_64/\nyum update --skip-broken -y "