~wuwenbin2/onosfw/neutron-api-onos

« back to all changes in this revision

Viewing changes to files/qemu-hugefsdir

  • Committer: wuwenbin2
  • Date: 2015-12-31 03:27:06 UTC
  • Revision ID: git-v1:5ea6261efb13b069f3fb3fc63b2cfdac128f447f
neutron-api-onos

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
#
 
3
### BEGIN INIT INFO
 
4
# Required-Start:    $local_fs
 
5
# Required-Stop:     $local_fs
 
6
# Provides:          qemu-hugefsdir
 
7
# Default-Start:     2 3 4 5
 
8
# Default-Stop:      0 6
 
9
# Short-Description: Make sure qemu gets a temp hugetblfs dir
 
10
# Description:       Make sure qemu gets a temp hugetblfs dir
 
11
### END INIT INFO
 
12
 
 
13
mkdir -p /mnt/huge/libvirt/qemu || true
 
14
chown libvirt-qemu:libvirtd /mnt/huge/libvirt/qemu