summaryrefslogtreecommitdiffstats
path: root/packer/provision/baseline.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-02-14Also wait for apt-get update list lockRudy Grigar1-1/+1
Change-Id: I56c644e4862736271ac1c991d3a9d60bfbdf5505 Signed-off-by: Rudy Grigar <rgrigar@linuxfoundation.org>
2017-02-14Quotes required to avoid interpretationRudy Grigar1-1/+1
Change-Id: I8bbbf6e9d23841c58bd0acf4c4b36c9ef8baaa85 Signed-off-by: Rudy Grigar <rgrigar@linuxfoundation.org>
2017-02-13Additional fixes for dpkg lock issuesRudy Grigar1-0/+25
This adds a wrapper around apt-get to loop until the lock is available for dpkg operations. Change-Id: I85d3b1f1e6992a046d021a192997f307c7ca4785 Signed-off-by: Rudy Grigar <rgrigar@linuxfoundation.org>
2017-02-13Add dot separator for systemctl unitsAndrew Grimberg1-1/+1
Change-Id: Ide382ac6d6e7fe2b041aeca6222380183c8bbff1 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2017-02-13Bring in fail build and stomp on Ubuntu auto-upAndrew Grimberg1-27/+66
Bring in changes to fail the build if something does not properly install or has an error during the build. Also, forcibly disable and mask out the apt-daily service and timer on Ubuntu 16.04 and hopefully destroy any cron related to it for 14.04 Change-Id: I301d9c696c3d166ecece8060d415dd931d446335 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2017-02-13Disable auto updates on UbuntuVanessa Rene Valderrama1-10/+9
Modifying the disable auto updates on Ubuntu to use perl instead of sed because the sed -ine is creating new files ending in ne. Modifying where the apt-get upgrade and updates occur to resolve dpkg/locks which are causing VPP & NSH_SFC builds to fail. Change-Id: I5a81d72df7b758bd8287c54909386114c33ed730 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2017-02-01Merge "Add git-review to base system"Vanessa Rene Valderrama1-2/+2
2017-01-31Merge "Add jq to baseline"Vanessa Rene Valderrama1-0/+8
2017-01-19Disable automatic system updates on UbuntuAndrew Grimberg1-9/+2
The cloud-init package has a hard dependency on the automatic update mechanism in Ubuntu 14.04. As removing this causes systems to not be accessible when booted, instead we're just going disable all of the options for the automatic update system Change-Id: I209dabe5deeda0fa30cfea918fc4feb4948cc0df Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2017-01-19Add git-review to base systemThanh Ha1-2/+2
Having git-review on the system is extremely useful for downloading Gerrit changes easily using the Review ID. Change-Id: I5833d8d3bf8f76f2dc0895e599e3b6d37f30935c Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2017-01-19Add jq to baselineThanh Ha1-0/+8
This package is useful on all vm types so install it everywhere. Change-Id: Ic99cc1e5dcb90dd21e95a3f1884bd7b3f662b2a3 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2016-12-21Update Ubuntu baseline to disable daily auto-updateAndrew Grimberg1-0/+12
* Updates the Ubuntu baseline build section to forcibly disable the default daily system package update for security patches * Make sure that the provision/basebuild directory that the build template is using exists with a .dummy placeholder Change-Id: Iffd493c3cfb6263d32d65d06e0e20a3bdbc58926 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-12-16Convert Vagrant to PackerVanessa Rene Valderrama1-0/+168
This converts all of the in use Vagrant definitions to Packer and allows us to build images and allow automated testing of images. Change-Id: Ic87cce4aa674146952efad325a42b095086426d0 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>