Skip to content

Commit a8df0fb

Browse files
committed
added update support for redhat
1 parent 5702932 commit a8df0fb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

gen_cloud_template.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,9 @@ _update_image(){
272272
debian)
273273
_image_shell "apt update && apt upgrade"
274274
;;
275+
redhat)
276+
_image_shell "yum update"
277+
;;
275278
*)
276279
exit_with_error 2 "Unsupported OS type: ${OSTYPE}"
277280
;;

0 commit comments

Comments
 (0)