Skip to content

Commit 1a61089

Browse files
committed
test
1 parent 62333ee commit 1a61089

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

scripts/oem-build

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# $1: The string to print
1212
#--
1313
user () {
14-
echo "==> ${1}"
14+
echo "==> ${1}" >> cs-vm-log
1515
}
1616

1717
#---
@@ -21,7 +21,7 @@ user () {
2121
# $1: The string to print
2222
#---
2323
error () {
24-
echo "!!! ${1}" 1>&2
24+
echo "!!! ${1}" 1>&2 >> cs-vm-log
2525
echo "Exiting." 1>&2
2626
exit 1
2727
}
@@ -93,8 +93,7 @@ main () {
9393
install_additions
9494

9595
user "Running ansible OEM playbook"
96-
ansible-playbook -i hosts -c local -t oem oem.yml \
97-
|| error "Playbook failed to complete successfully"
96+
ansible-playbook -i hosts -c local -t oem oem.yml >> cs-vm-log 2>> cs-vm-log
9897
}
9998

10099
# Actually run the main function

0 commit comments

Comments
 (0)