-
Notifications
You must be signed in to change notification settings - Fork 1.3k
systemvmtemplate: use latest LTS kernel from buster-ports #5073
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
3af6575
db3d1f7
53e4408
d66051a
4c8f726
c905bd5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,7 +22,7 @@ set -x | |
| function install_vhd_util() { | ||
| [[ -f /bin/vhd-util ]] && return | ||
|
|
||
| wget --no-check-certificate https://github.com/shapeblue/cloudstack-nonoss/raw/master/vhd-util -O /bin/vhd-util | ||
| wget --no-check-certificate https://github.com/shapeblue/cloudstack-nonoss/raw/main/vhd-util -O /bin/vhd-util | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. jfyi @sureshanaparti - fixed this
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. noted, thanks @rhtyd |
||
| chmod a+x /bin/vhd-util | ||
| } | ||
|
|
||
|
|
@@ -42,7 +42,7 @@ function install_packages() { | |
|
|
||
| debconf_packages | ||
|
|
||
| local apt_get="apt-get --no-install-recommends -q -y" | ||
| local apt_get="apt-get --no-install-recommends -q -y -t buster-backports" | ||
|
|
||
| ${apt_get} install grub-legacy \ | ||
| rsyslog logrotate cron net-tools ifupdown tmux vim-tiny htop netbase iptables nftables \ | ||
|
|
@@ -76,8 +76,6 @@ function install_packages() { | |
| apt-get clean | ||
| apt-get autoclean | ||
|
|
||
| ${apt_get} install links | ||
|
|
||
| #32 bit architecture support for vhd-util: not required for 32 bit template | ||
| if [ "${arch}" != "i386" ]; then | ||
| dpkg --add-architecture i386 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,14 @@ | |
| "type": "shell", | ||
| "execute_command": "echo 'cloud' | sudo -u root -S bash {{.Path}}", | ||
| "scripts": [ | ||
| "scripts/apt_upgrade.sh", | ||
| "scripts/apt_upgrade.sh" | ||
| ], | ||
| "expect_disconnect": true | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @weizhouapache this handles for reboot case. You can read more about it here https://www.packer.io/docs/provisioners/shell
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @rhtyd good. thanks for the info. |
||
| }, | ||
| { | ||
| "type": "shell", | ||
| "execute_command": "echo 'cloud' | sudo -u root -S bash {{.Path}}", | ||
| "scripts": [ | ||
| "scripts/configure_grub.sh", | ||
| "scripts/configure_locale.sh", | ||
| "scripts/configure_networking.sh", | ||
|
|
@@ -33,7 +40,7 @@ | |
| [ "-smp", "1" ] | ||
| ], | ||
| "format": "qcow2", | ||
| "disk_size": 2500, | ||
| "disk_size": 3000, | ||
| "disk_interface": "virtio", | ||
| "net_device": "virtio-net", | ||
| "iso_url": "https://cdimage.debian.org/debian-cd/10.9.0/amd64/iso-cd/debian-10.9.0-amd64-netinst.iso", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rhtyd might 'reboot' be an issue in packer processing ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No see template.json