34ea91349c
* Single image * Fix review comments * Update syncd service. Add HW mgmt to Mellanox single image. * Add single image template for Broadcom platform. SKU should be provided during configure: make configure PLATFORM=broadcom SKU=Force10-S6000 * Add single image template for Cavium platform. SKU should be provided during configure: make configure PLATFORM=cavium SKU=AS7512 * Add description to sonic_debian_extension.j2 file.
16 lines
630 B
Bash
Executable File
16 lines
630 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#sysDescription is currently mounted, uncomment this line and provide version.yml instead if use copying instead of mounting
|
|
#sonic-cfggen -m /etc/sonic/minigraph.xml -y /etc/sonic/version.yml -t /etc/swss/snmp/sysDescription.j2 >/etc/ssw/sysDescription
|
|
|
|
mkdir -p /etc/snmp
|
|
|
|
sonic-cfggen -m /etc/sonic/minigraph.xml -y /etc/sonic/snmp.yml -t /etc/swss/snmp/snmpd.conf.j2 >/etc/snmp/snmpd.conf
|
|
|
|
hwsku=`sonic-cfggen -m /etc/sonic/minigraph.xml -v minigraph_hwsku`
|
|
/bin/cp -rf /etc/ssw/$hwsku/alias_map.json /etc/snmp/
|
|
|
|
mkdir -p /var/sonic
|
|
echo "# Config files managed by sonic-config-engine" >/var/sonic/config_status
|
|
|