FreeBSD Bugzilla – Attachment 177673 Details for
Bug 213396
official FreeBSD vm image not runing on openstack
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
update the OpenStack with configuration with cloudware common options.
openstack.conf.diff (text/plain), 1.83 KB, created by
Diego Casati
on 2016-12-05 03:51:32 UTC
(
hide
)
Description:
update the OpenStack with configuration with cloudware common options.
Filename:
MIME Type:
Creator:
Diego Casati
Created:
2016-12-05 03:51:32 UTC
Size:
1.83 KB
patch
obsolete
>--- release/tools/openstack.conf.orig 2016-11-30 13:26:22.169493000 -0500 >+++ release/tools/openstack.conf 2016-12-04 21:42:48.945611000 -0500 >@@ -12,14 +12,44 @@ export VM_EXTRA_PACKAGES="net/cloud-init > export VM_RC_LIST="cloudinit" > > vm_extra_pre_umount() { >+ #env ASSUME_ALWAYS_YES=yes pkg -c ${DESTDIR} delete -f -y pkg >+ #rm ${DESTDIR}/var/db/pkg/repo-*.sqlite >+ >+ echo 'growfs_enable="YES"' >> ${DESTDIR}/etc/rc.conf >+ >+ # Enable sshd by default > echo 'sshd_enable="YES"' >> ${DESTDIR}/etc/rc.conf >+ >+ # Disable DNS lookups by default to make SSH connect quickly >+ echo 'UseDNS no' >> ${DESTDIR}/etc/ssh/sshd_config >+ >+ # Allow SSH with root using keys >+ echo 'PermitRootLogin without-password' >> ${DESTDIR}/etc/ssh/sshd_config >+ >+ # Enable DHCP for the OpenStack instance > echo 'ifconfig_DEFAULT="SYNCDHCP"' >> ${DESTDIR}/etc/rc.conf > >+ # Disable sendmail >+ echo 'sendmail_enable="NO"' >> ${DESTDIR}/etc/rc.conf >+ echo 'sendmail_submit_enable="NO"' >> ${DESTDIR}/etc/rc.conf >+ echo 'sendmail_outbound_enable="NO"' >> ${DESTDIR}/etc/rc.conf >+ echo 'sendmail_msp_queue_enable="NO"' >> ${DESTDIR}/etc/rc.conf >+ > # Openstack wants sudo(8) usable by default without a password. > echo 'ALL ALL=(ALL) NOPASSWD:ALL' >> \ > ${DESTDIR}/usr/local/etc/sudoers.d/cloud-init > > rm -f ${DESTDIR}/etc/resolv.conf > >+ # The console is not interactive, so we might as well boot quickly. >+ echo 'autoboot_delay="-1"' >> ${DESTDIR}/boot/loader.conf >+ echo 'beastie_disable="YES"' >> ${DESTDIR}/boot/loader.conf >+ >+ # Reboot quickly, Don't wait at the panic screen >+ echo 'debug.trace_on_panic=1' >> ${DESTDIR}/etc/sysctl.conf >+ echo 'debug.debugger_on_panic=0' >> ${DESTDIR}/etc/sysctl.conf >+ echo 'kern.panic_reboot_wait_time=0' >> ${DESTDIR}/etc/sysctl.conf >+ >+ touch ${DESTDIR}/firstboot > return 0 > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213396
: 177673 |
177674
|
198066
|
198200